Index: branches/5.0.x/core/kernel/db/dbitem.php
===================================================================
diff -u -r12299 -r12323
--- branches/5.0.x/core/kernel/db/dbitem.php (.../dbitem.php) (revision 12299)
+++ branches/5.0.x/core/kernel/db/dbitem.php (.../dbitem.php) (revision 12323)
@@ -1,6 +1,6 @@
Application->isDebugMode() )
- {
+ if ($this->Application->isDebugMode()) {
$this->Application->Debugger->appendTrace();
}
+
trigger_error('Query method is called in class '.get_class($this).' for prefix '.$this->getPrefixSpecial().'', E_USER_ERROR);
}