Compare commits

...

2 Commits

Author SHA1 Message Date
osaajani b8e587a59e v3.0.13 2021-03-07 12:25:13 +01:00
osaajani af008b05e7 Fix cannot retrieve uid when gammu locale not english 2021-03-07 12:24:16 +01:00
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
v3.0.12 v3.0.13

View File

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