From: Roland Häder Date: Fri, 17 Aug 2012 19:24:37 +0000 (+0000) Subject: Minor fixes X-Git-Url: https://git.mxchange.org/?p=core.git;a=commitdiff_plain;h=5a7a5706659991464cbf552b1d349f076e574f2e;ds=sidebyside Minor fixes --- 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