dever 6 år sedan
förälder
incheckning
0a4d6cccc2
1 ändrade filer med 5 tillägg och 5 borttagningar
  1. 5 5
      src/Applet.php

+ 5 - 5
src/Applet.php

@@ -112,11 +112,11 @@ class Applet extends Base
       
         if ($user['mobile']) {
             $result['mobile'] = $user['mobile'];
-        }
-
-        if (function_exists('checkVersion')) {
-            if (checkVersion()->mobile == 2) {
-                $result['mobile'] = '101010';
+        } else {
+            if (function_exists('checkVersion')) {
+                if (checkVersion()->mobile == 2) {
+                    $result['mobile'] = '101010';
+                }
             }
         }