!107 修复 接口调用遗漏 addslashes
Merge pull request !107 from Coxxs/fix/uc_api
This commit is contained in:
parent
6eeff067aa
commit
4e1fbd6dc2
|
@ -376,7 +376,7 @@ if($_GET['op'] == 'checknewpm') {
|
|||
}
|
||||
$username = $_GET['username'];
|
||||
|
||||
if(!$username || !uc_get_user($username)) {
|
||||
if(!$username || !uc_get_user(addslashes($username))) {
|
||||
showmessage('pm_ignore_error_nopm');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue