summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorMorris Jobke <morris.jobke@gmail.com>2013-04-23 14:39:28 +0200
committerMorris Jobke <morris.jobke@gmail.com>2013-04-23 14:40:21 +0200
commitb9b2e0269a2816d8708dcbaf82467d6200c830af (patch)
tree844ba2f183557c0eb9fe463c8d405c95f615f722 /settings
parent05ab9d2de7f2c5181eda2174a2e2adb1cc214196 (diff)
downloadnextcloud-server-b9b2e0269a2816d8708dcbaf82467d6200c830af.tar.gz
nextcloud-server-b9b2e0269a2816d8708dcbaf82467d6200c830af.zip
fix logical issue while retrieving log via ajax
Diffstat (limited to 'settings')
-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));