Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO
2018-09-23 06:38:36 +00:00
parent 6eaa70d991
commit 2128ac8b8a
5 changed files with 15 additions and 13 deletions

View File

@ -556,4 +556,14 @@ function get_ldap_attribute_names($ldap_type = '') {
}
?>
function htmlentities_on_array($arr = []) {
while(list($k, $v) = each($arr)) {
if(is_array($v)) {
$arr[$k] = htmlentities_on_array($v);
} else {
$arr[$k] = htmlentities($v);
}
}
return $arr;
}