diff --git a/functions/array.xml b/functions/array.xml index 277e98a7d4..f2b8c2bdaf 100644 --- a/functions/array.xml +++ b/functions/array.xml @@ -1,5 +1,5 @@ - + Array Functions Arrays @@ -703,9 +703,9 @@ function array_keys ($arr, $term="") { while (list($k,$v) = each($arr)) { if ($term && $v != $term) { continue; - } + } $t[] = $k; - } + } return $t; } ]]>