Merge branch '12.x'

This commit is contained in:
wangyidong
2021-02-19 13:17:23 +08:00
109 changed files with 5297 additions and 1570 deletions
+2 -1
View File
@@ -365,7 +365,8 @@ class baseHelper
}
/* Check decrypted password. Judge whether there is garbled code. */
if(json_encode($decryptedPassword) === 'null') $decryptedPassword = '';
$jsoned = json_encode($decryptedPassword);
if($jsoned === 'null' or empty($jsoned)) $decryptedPassword = '';
}
if(empty($decryptedPassword)) $decryptedPassword = $password;