diff --git a/mtproto.php b/mtproto.php index 16ac745f..5dc3f99f 100755 Binary files a/mtproto.php and b/mtproto.php differ diff --git a/prime.php b/prime.php index e275f6cd..a9849d9c 100644 --- a/prime.php +++ b/prime.php @@ -147,6 +147,7 @@ function pollard_brent($n) { } $smallprimes = primesbelow(10000); function primefactors($n, $sort = false) { + global $smallprimes; $factors = []; $limit = (pyjslib_int(pow($n, 0.5)) + 1); foreach ($smallprimes as $checker) {