projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2cbaf6
)
Avoid infinite loop.
author
Gunnar Wrobel
<p@rdus.de>
Wed, 3 Nov 2010 09:04:26 +0000
(10:04 +0100)
committer
Gunnar Wrobel
<p@rdus.de>
Wed, 3 Nov 2010 09:04:26 +0000
(10:04 +0100)
components/lib/Components/Helper/ListRun.php
patch
|
blob
|
history
diff --git
a/components/lib/Components/Helper/ListRun.php
b/components/lib/Components/Helper/ListRun.php
index
3448614
..
83c9b64
100644
(file)
--- a/
components/lib/Components/Helper/ListRun.php
+++ b/
components/lib/Components/Helper/ListRun.php
@@
-140,12
+140,16
@@
class Components_Helper_ListRun
return true;
}
} else {
- $this->_quiet_list[$key] = array(
- 'channel' => 'pear.horde.org',
- 'name' => $package->getName(),
- 'color' => 'green'
- );
- return true;
+ if (!isset($this->_quiet_list[$key])) {
+ $this->_quiet_list[$key] = array(
+ 'channel' => 'pear.horde.org',
+ 'name' => $package->getName(),
+ 'color' => 'green'
+ );
+ return true;
+ } else {
+ return false;
+ }
}
}