add multiple methods of get_requested_value()
This commit is contained in:
parent
5bdeabe3ab
commit
4b6c118e63
|
@ -281,6 +281,8 @@ if(!check_function_exists("get_requested_value")) {
|
||||||
} elseif(is_object($requests[$method])) {
|
} elseif(is_object($requests[$method])) {
|
||||||
$value = get_property_value($name, $requests[$method]);
|
$value = get_property_value($name, $requests[$method]);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if(is_string($value)) {
|
if(is_string($value)) {
|
||||||
// security: set escape quotes
|
// security: set escape quotes
|
||||||
|
@ -293,8 +295,6 @@ if(!check_function_exists("get_requested_value")) {
|
||||||
$value = htmlspecialchars($value);
|
$value = htmlspecialchars($value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return $value;
|
return $value;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user