Index: branches/RC/core/kernel/db/dblist.php =================================================================== diff -u -r10780 -r11086 --- branches/RC/core/kernel/db/dblist.php (.../dblist.php) (revision 10780) +++ branches/RC/core/kernel/db/dblist.php (.../dblist.php) (revision 11086) @@ -703,6 +703,15 @@ { $row =& $this->getCurrentRecord(); + if (defined('DEBUG_MODE') && DEBUG_MODE && $this->Queried && !array_key_exists($name, $row)) { + if ($this->Application->isDebugMode()) { + $this->Application->Debugger->appendTrace(); + } + + trigger_error('Field ' . $name . ' doesn\'t exist in prefix ' . $this->getPrefixSpecial() . '', E_USER_WARNING); + return 'NO SUCH FIELD'; + } + return $row[$name]; } @@ -757,6 +766,16 @@ } /** + * Goes to record with given index + * + * @param int $index + */ + function GoIndex($index) + { + $this->CurrentIndex = $index; + } + + /** * Description * * @access public