]> git.mxchange.org Git - core.git/commitdiff
Minor fixes
authorRoland Häder <roland@mxchange.org>
Fri, 17 Aug 2012 19:24:37 +0000 (19:24 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 17 Aug 2012 19:24:37 +0000 (19:24 +0000)
inc/classes/main/result/class_DatabaseResult.php

index 1433dc8f6f6dc0121aeea905054f12cb81569ad7..aa09d11b3fc019555388e8f64679380357d448f4 100644 (file)
@@ -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