Update security.php

This commit is contained in:
Namhyeon Go 2019-06-19 13:01:08 +09:00 committed by GitHub
parent ab9e0ad798
commit 5c3a5c8608
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -548,7 +548,7 @@ if(!check_function_exists("decapsulate_text")) {
if(!check_function_exists("make_safe_argument")) {
function make_safe_argument($str) {
return addslashes($str);
return is_string($str) ? addslashes($str) : $str;
}
}