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 1433dc8..aa09d11 100644 (file)
@@ -149,7 +149,7 @@ class DatabaseResult extends BaseFrameworkSystem implements SearchableResult, Up
                $this->rewind();
 
                // Search for the entry
                $this->rewind();
 
                // Search for the entry
-               while ($this->currentPos < $index && ($this->valid())) {
+               while (($this->currentPos < $index) && ($this->valid())) {
                        // Continue on
                        $this->next();
                } // END - while
                        // 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
         * @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
         */
        public function solveResultIndex ($databaseColumn, BaseDatabaseWrapper $wrapperInstance, array $callBack) {
                // By default nothing is found