Index: branches/5.0.x/core/kernel/db/db_event_handler.php =================================================================== diff -u -N -r13407 -r13528 --- branches/5.0.x/core/kernel/db/db_event_handler.php (.../db_event_handler.php) (revision 13407) +++ branches/5.0.x/core/kernel/db/db_event_handler.php (.../db_event_handler.php) (revision 13528) @@ -1,6 +1,6 @@ Application->isDebugMode()) { $this->Application->Debugger->appendTrace(); } - trigger_error('ItemLoad Permission Failed for prefix [' . $event->getPrefixSpecial() . '] in checkItemStatus, leading to "404 Not Found"', E_USER_WARNING); + trigger_error('ItemLoad Permission Failed for prefix [' . $event->getPrefixSpecial() . '] in checkItemStatus, leading to "404 Not Found"', E_USER_NOTICE); header('HTTP/1.0 404 Not Found'); @@ -532,7 +532,7 @@ $this->Application->Debugger->appendTrace(); } - trigger_error('ItemLoad Permission Failed for prefix ['.$event->getPrefixSpecial().'] in '.($status_checked ? 'checkItemStatus' : 'CheckPermission').'', E_USER_WARNING); + trigger_error('ItemLoad Permission Failed for prefix ['.$event->getPrefixSpecial().'] in '.($status_checked ? 'checkItemStatus' : 'CheckPermission').'', E_USER_NOTICE); $template = $this->Application->isAdmin ? 'no_permission' : $this->Application->ConfigValue('NoPermissionTemplate'); if (MOD_REWRITE) { @@ -1173,12 +1173,12 @@ * @access protected */ function OnUpdate(&$event) - { + { if ($this->Application->CheckPermission('SYSTEM_ACCESS.READONLY', 1)) { $event->status = erFAIL; return; } - + $object =& $event->getObject( Array('skip_autoload' => true) ); $items_info = $this->Application->GetVar( $event->getPrefixSpecial(true) );