Fix cannot retrieve uid when gammu locale not english
This commit is contained in:
parent
b45f1157b4
commit
af008b05e7
adapters
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue