Index: branches/unlabeled/unlabeled-1.23.2/core/units/categories/categories_event_handler.php =================================================================== diff -u -r6115 -r6580 --- branches/unlabeled/unlabeled-1.23.2/core/units/categories/categories_event_handler.php (.../categories_event_handler.php) (revision 6115) +++ branches/unlabeled/unlabeled-1.23.2/core/units/categories/categories_event_handler.php (.../categories_event_handler.php) (revision 6580) @@ -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'); } /**