Fix cannot retrieve uid when gammu locale not english

This commit is contained in:
osaajani 2021-03-07 12:24:16 +01:00
parent b45f1157b4
commit af008b05e7
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ namespace adapters;
foreach ($result['output'] as $line)
{
$matches = [];
preg_match('#reference=([0-9]+)#u', $line, $matches);
preg_match('#=([0-9]+)#u', $line, $matches);
if ($matches[1] ?? false)
{