Add missing quotes to array_map.
This commit is contained in:
parent
6062e563ff
commit
56c2216295
|
@ -728,7 +728,7 @@
|
||||||
// this is used for user http parameters unless HTML code is actually needed
|
// this is used for user http parameters unless HTML code is actually needed
|
||||||
function clean($param) {
|
function clean($param) {
|
||||||
if (is_array($param)) {
|
if (is_array($param)) {
|
||||||
return array_map(strip_tags, $param);
|
return array_map("strip_tags", $param);
|
||||||
} else if (is_string($param)) {
|
} else if (is_string($param)) {
|
||||||
return strip_tags($param);
|
return strip_tags($param);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue