From 8e18d716f82341520ee969fbbcf6554363d74744 Mon Sep 17 00:00:00 2001 From: "Tomas V.V.Cox" Date: Tue, 18 Dec 2001 08:52:48 +0000 Subject: [PATCH] that makes more sense --- pear/scripts/pear.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.50.1