aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-05-27 09:53:13 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-05-27 09:53:13 +0000
commit4baed40f5e6288778670ccd2a37047aefba82faa (patch)
tree5dfdb5bcbcbd036656d2db34e5d167d54ea8fee3 /engine/lib
parent591e30d8381e4c21c125b6b8b2905869f1d68e41 (diff)
downloadelgg-4baed40f5e6288778670ccd2a37047aefba82faa.tar.gz
elgg-4baed40f5e6288778670ccd2a37047aefba82faa.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* Offset incremented each pass, will no longer get stuck in the infinite loop git-svn-id: https://code.elgg.org/elgg/trunk@722 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/river.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/engine/lib/river.php b/engine/lib/river.php
index 7c8eaa327..d97c86dac 100644
--- a/engine/lib/river.php
+++ b/engine/lib/river.php
@@ -45,6 +45,7 @@
$exit = true;
else
{
+
foreach ($log_events as $log)
{
// See if we have access to the object we're talking about
@@ -68,10 +69,12 @@
if ($tam)
{
$river[] = $tam;
- $off++;
$cnt--;
}
}
+
+ // Increase offset
+ $off++;
}
}