summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--settings/ajax/getlog.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/ajax/getlog.php b/settings/ajax/getlog.php
index 141457e72a0..02f4f37fd6a 100644
--- a/settings/ajax/getlog.php
+++ b/settings/ajax/getlog.php
@@ -15,4 +15,4 @@ $data = array();
OC_JSON::success(array(
"data" => $entries,
- "remain"=>(count(OC_Log_Owncloud::getEntries(1, $offset + $offset)) != 0) ? true : false));
+ "remain"=>(count(OC_Log_Owncloud::getEntries(1, $offset + $count)) != 0) ? true : false));