diff options
author | Martin Jansen <mj@php.net> | 2003-11-17 09:15:28 +0000 |
---|---|---|
committer | Martin Jansen <mj@php.net> | 2003-11-17 09:15:28 +0000 |
commit | 6ff584e2fbf31810b8e2b2a7de9e9e701a7ec6ad (patch) | |
tree | afc47a78e403a8111e945c79e64c21adcb93bfc5 | |
parent | 137adbb708e656aaf8d77a8296c3ca5f699970cd (diff) | |
download | php-git-6ff584e2fbf31810b8e2b2a7de9e9e701a7ec6ad.tar.gz |
* Fix potential warning
-rw-r--r-- | pear/PEAR/Command/Remote.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pear/PEAR/Command/Remote.php b/pear/PEAR/Command/Remote.php index 0235b4c85a..d6b0f423c8 100644 --- a/pear/PEAR/Command/Remote.php +++ b/pear/PEAR/Command/Remote.php @@ -352,7 +352,7 @@ parameter. 'border' => 1, 'headline' => array('Package', 'Local', 'Remote', 'Size'), ); - foreach ($latest as $pkg => $info) { + foreach ((array)$latest as $pkg => $info) { $package = strtolower($pkg); if (!isset($inst[$package])) { // skip packages we don't have installed |