From 5a7a5706659991464cbf552b1d349f076e574f2e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 17 Aug 2012 19:24:37 +0000 Subject: [PATCH] Minor fixes --- inc/classes/main/result/class_DatabaseResult.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/classes/main/result/class_DatabaseResult.php b/inc/classes/main/result/class_DatabaseResult.php index 1433dc8f..aa09d11b 100644 --- a/inc/classes/main/result/class_DatabaseResult.php +++ b/inc/classes/main/result/class_DatabaseResult.php @@ -149,7 +149,7 @@ class DatabaseResult extends BaseFrameworkSystem implements SearchableResult, Up $this->rewind(); // Search for the entry - while ($this->currentPos < $index && ($this->valid())) { + while (($this->currentPos < $index) && ($this->valid())) { // Continue on $this->next(); } // END - while @@ -379,7 +379,7 @@ class DatabaseResult extends BaseFrameworkSystem implements SearchableResult, Up * @para $callBack Call-back object for setting the index; * 0=object instance,1=method name * @return void -4 * @todo Find a caching way without modifying the result array + * @todo Find a caching way without modifying the result array */ public function solveResultIndex ($databaseColumn, BaseDatabaseWrapper $wrapperInstance, array $callBack) { // By default nothing is found -- 2.39.2