mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
Fix for bug #463970.
This commit is contained in:
parent
efd42b032f
commit
9689d6a2b6
@ -44,6 +44,21 @@
|
||||
}
|
||||
}
|
||||
|
||||
function array_keys ($arr, $term="")
|
||||
{
|
||||
$t = array();
|
||||
while (list($k,$v) = each($arr))
|
||||
{
|
||||
if ($term && $v != $term)
|
||||
{
|
||||
continue;
|
||||
$t[] = $k;
|
||||
}
|
||||
return $t;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
function array_reverse ($array, $preserve_keys = FALSE)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user