Index: branches/RC/core/kernel/db/dbitem.php
===================================================================
diff -u -r9267 -r9270
--- branches/RC/core/kernel/db/dbitem.php (.../dbitem.php) (revision 9267)
+++ branches/RC/core/kernel/db/dbitem.php (.../dbitem.php) (revision 9270)
@@ -470,7 +470,7 @@
$global_res = $global_res && $res;
}
- if (!$global_res && defined('DEBUG_MODE') && DEBUG_MODE) {
+ if (!$global_res && $this->Application->isDebugMode()) {
$error_msg = ' Validation failed in prefix '.$this->Prefix.',
FieldErrors follow (look at items with "pseudo" key set)
You may ignore this notice if submitted data really has a validation error';