Index: trunk/core/units/categories/categories_event_handler.php =================================================================== diff -u -N -r6093 -r6583 --- trunk/core/units/categories/categories_event_handler.php (.../categories_event_handler.php) (revision 6093) +++ trunk/core/units/categories/categories_event_handler.php (.../categories_event_handler.php) (revision 6583) @@ -250,12 +250,11 @@ function GetPassedId(&$event) { - if ( $this->Application->IsAdmin() ) return parent::getPassedID($event); - - $ret = $this->Application->GetVar('m_cat_id'); - if($ret) return $ret; - + if ( $this->Application->IsAdmin() ) { return parent::getPassedID($event); + } + + return $this->Application->GetVar('m_cat_id'); } /**