diff --git a/app/appadmin/modules/Catalog/block/categoryupload/Manager.php b/app/appadmin/modules/Catalog/block/categoryupload/Manager.php index 3b24a6a1f..d0f4c0714 100644 --- a/app/appadmin/modules/Catalog/block/categoryupload/Manager.php +++ b/app/appadmin/modules/Catalog/block/categoryupload/Manager.php @@ -30,7 +30,7 @@ public function init() /* * service component, data provider */ - parent::init(); + // parent::init(); } public function getLastData() diff --git a/app/appadmin/modules/System/block/extensionmarket/Login.php b/app/appadmin/modules/System/block/extensionmarket/Login.php index 4baecb8b6..9df3aef0b 100644 --- a/app/appadmin/modules/System/block/extensionmarket/Login.php +++ b/app/appadmin/modules/System/block/extensionmarket/Login.php @@ -28,7 +28,7 @@ class Login */ public function init() { - parent::init(); + // parent::init(); } public function getLastData() diff --git a/lib/google/lib/auth/Google_Utils.php b/lib/google/lib/auth/Google_Utils.php index be94902c2..37f5a1508 100644 --- a/lib/google/lib/auth/Google_Utils.php +++ b/lib/google/lib/auth/Google_Utils.php @@ -55,7 +55,8 @@ static public function getStrLen($str) { $strlenVar = strlen($str); $d = $ret = 0; for ($count = 0; $count < $strlenVar; ++ $count) { - $ordinalValue = ord($str{$ret}); + //$ordinalValue = ord($str{$ret}); + $ordinalValue = ord(substr($str,$ret, 1)); switch (true) { case (($ordinalValue >= 0x20) && ($ordinalValue <= 0x7F)): // characters U-00000000 - U-0000007F (same as ASCII) @@ -114,4 +115,4 @@ public static function normalize($arr) { } return $normalized; } -} \ No newline at end of file +}