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