Update security.php
This commit is contained in:
parent
ab9e0ad798
commit
5c3a5c8608
|
@ -548,7 +548,7 @@ if(!check_function_exists("decapsulate_text")) {
|
||||||
|
|
||||||
if(!check_function_exists("make_safe_argument")) {
|
if(!check_function_exists("make_safe_argument")) {
|
||||||
function make_safe_argument($str) {
|
function make_safe_argument($str) {
|
||||||
return addslashes($str);
|
return is_string($str) ? addslashes($str) : $str;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user