mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 03:07:02 +02:00
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user