summaryrefslogtreecommitdiff
path: root/pear
diff options
context:
space:
mode:
authorTomas V.V.Cox <cox@php.net>2001-12-18 08:52:48 +0000
committerTomas V.V.Cox <cox@php.net>2001-12-18 08:52:48 +0000
commit8e18d716f82341520ee969fbbcf6554363d74744 (patch)
tree22778df135997eefaec74f29ed3afd30f2a4188d /pear
parentbe45657eea627d3a5ad0fa4f8afa1947d2d25c14 (diff)
downloadphp-git-8e18d716f82341520ee969fbbcf6554363d74744.tar.gz
that makes more sense
Diffstat (limited to 'pear')
-rw-r--r--pear/scripts/pear.in2
1 files changed, 1 insertions, 1 deletions
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;