From: Morris Jobke Date: Tue, 23 Apr 2013 12:39:28 +0000 (+0200) Subject: fix logical issue while retrieving log via ajax X-Git-Tag: v6.0.0alpha2~855^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b9b2e0269a2816d8708dcbaf82467d6200c830af;p=nextcloud-server.git fix logical issue while retrieving log via ajax --- 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));