Index: branches/5.2.x/core/units/phrases/phrases_event_handler.php =================================================================== diff -u -N -r14092 -r14095 --- branches/5.2.x/core/units/phrases/phrases_event_handler.php (.../phrases_event_handler.php) (revision 14092) +++ branches/5.2.x/core/units/phrases/phrases_event_handler.php (.../phrases_event_handler.php) (revision 14095) @@ -1,6 +1,6 @@ Application->isAdmin && $this->Application->isDebugMode() && constOn('DBG_PHRASES')) { + if (!$this->Application->isAdmin && $this->Application->isDebugMode() && kUtil::constOn('DBG_PHRASES')) { $allow_events = Array ('OnCreate', 'OnUpdate'); if (in_array($event->Name, $allow_events)) { @@ -301,7 +301,7 @@ $event->SetRedirectParam('opener', 's'); } - if ($event->status != erSUCCESS) { + if ($event->status != kEvent::erSUCCESS) { return ; }