Index: trunk/core/units/favorites/favorites_eh.php =================================================================== diff -u -N -r8432 -r8435 --- trunk/core/units/favorites/favorites_eh.php (.../favorites_eh.php) (revision 8432) +++ trunk/core/units/favorites/favorites_eh.php (.../favorites_eh.php) (revision 8435) @@ -47,7 +47,7 @@ $object->Create(); } - $event->SetRedirectParam('pass', 'm'); + $event->SetRedirectParam('pass', 'm,'.$parent_prefix); } /** Index: trunk/kernel/units/favorites/favorites_eh.php =================================================================== diff -u -N -r8432 -r8435 --- trunk/kernel/units/favorites/favorites_eh.php (.../favorites_eh.php) (revision 8432) +++ trunk/kernel/units/favorites/favorites_eh.php (.../favorites_eh.php) (revision 8435) @@ -47,7 +47,7 @@ $object->Create(); } - $event->SetRedirectParam('pass', 'm'); + $event->SetRedirectParam('pass', 'm,'.$parent_prefix); } /** Index: trunk/core/units/general/cat_tag_processor.php =================================================================== diff -u -N -r8428 -r8435 --- trunk/core/units/general/cat_tag_processor.php (.../cat_tag_processor.php) (revision 8428) +++ trunk/core/units/general/cat_tag_processor.php (.../cat_tag_processor.php) (revision 8435) @@ -289,6 +289,16 @@ return $this->Application->ProcessParsedTag('m', 'Link', $params); } + /** + * Checks if item is passed in url + * + * @param Array $params + * @return bool + */ + function ItemAvailable($params) + { + return $this->Application->GetVar($this->getPrefixSpecial().'_id') > 0; + } } ?> \ No newline at end of file