1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-05 07:54:24 +03:00

fix func_htmlspecialchars

This commit is contained in:
Sergey S Yaglov 2012-02-20 23:46:00 +03:00
parent 17986c992c
commit ba806f3d13

View file

@ -138,11 +138,9 @@ function func_htmlspecialchars(&$data, $walkIndex = null)
{ {
if (!is_array($data)) if (!is_array($data))
{ {
$data = htmlspecialchars(&$data); $data = htmlspecialchars($data);
return; return;
} }
array_walk($data, __FUNCTION__); array_walk($data, __FUNCTION__);
} }