From af008b05e77b3b4c9535d464551341dec276a860 Mon Sep 17 00:00:00 2001 From: osaajani <> Date: Sun, 7 Mar 2021 12:24:16 +0100 Subject: [PATCH] Fix cannot retrieve uid when gammu locale not english --- adapters/GammuAdapter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adapters/GammuAdapter.php b/adapters/GammuAdapter.php index 2554bf7..cf1bb18 100644 --- a/adapters/GammuAdapter.php +++ b/adapters/GammuAdapter.php @@ -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) {