From: Tomas V.V.Cox Date: Tue, 18 Dec 2001 08:52:48 +0000 (+0000) Subject: that makes more sense X-Git-Tag: PRE_ISSET_PATCH~486 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8e18d716f82341520ee969fbbcf6554363d74744;p=php that makes more sense --- diff --git a/pear/scripts/pear.in b/pear/scripts/pear.in index decb069958..b8865d2244 100644 --- a/pear/scripts/pear.in +++ b/pear/scripts/pear.in @@ -390,11 +390,11 @@ function present_array(&$arr, $keys = null) if (is_array($arr[$k])) { foreach ($arr[$k] as $i => $value) { $x = "$k #$i"; + $cont = array(); foreach(array_keys($value) as $val) { $cont[] = "$val=" . $value[$val]; } $v = implode(", ", $cont); - $cont = array(); printf($format_string, $x, $v); } continue;