projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62b301e
)
Fix off by one error
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Thu, 19 Aug 2010 22:09:35 +0000
(18:09 -0400)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Thu, 19 Aug 2010 22:13:21 +0000
(18:13 -0400)
Bug: 9188
Submitted By: gavin (dot) mccullagh (at) gcd (dot) ie
horde/lib/Block/feed.php
patch
|
blob
|
history
diff --git
a/horde/lib/Block/feed.php
b/horde/lib/Block/feed.php
index
55bf598
..
8956efc
100644
(file)
--- a/
horde/lib/Block/feed.php
+++ b/
horde/lib/Block/feed.php
@@
-53,7
+53,7
@@
class Horde_Block_Horde_feed extends Horde_Block
$html = '';
$count = 0;
foreach ($this->_feed as $entry) {
- if (
$count++
> $this->_params['limit']) {
+ if (
++$count
> $this->_params['limit']) {
break;
}
$html .= '<a href="' . $entry->link. '"';