Index: branches/RC/core/kernel/application.php =================================================================== diff -u -N -r10580 -r10602 --- branches/RC/core/kernel/application.php (.../application.php) (revision 10580) +++ branches/RC/core/kernel/application.php (.../application.php) (revision 10602) @@ -888,10 +888,11 @@ $this->UpdateCache(); flush(); + if (!$this->isDebugMode()) { + $this->EventManager->RunRegularEvents(reAFTER); + $this->Session->SaveData(); + } - $this->EventManager->RunRegularEvents(reAFTER); - $this->Session->SaveData(); - if (defined('DBG_CAPTURE_STATISTICS') && DBG_CAPTURE_STATISTICS && !$this->IsAdmin()) { $this->_storeStatistics(); }