Index: trunk/core/units/categories/categories_tag_processor.php =================================================================== diff -u -N -r8481 -r8506 --- trunk/core/units/categories/categories_tag_processor.php (.../categories_tag_processor.php) (revision 8481) +++ trunk/core/units/categories/categories_tag_processor.php (.../categories_tag_processor.php) (revision 8506) @@ -19,18 +19,28 @@ function IsNew($params) { - $object =& $this->Application->recallObject($this->getPrefixSpecial(), $this->Prefix, $params); - $ret = $object->GetDBField('IsNew') ? 1 : 0; - return $ret; + $object =& $this->getObject($params); + return $object->GetDBField('IsNew') ? 1 : 0; } function IsPick($params) { - $object =& $this->Application->recallObject($this->getPrefixSpecial(), $this->Prefix, $params); - $ret = $object->GetDBField('EditorsPick') ? 1 : 0; - return $ret; + return $this->IsEditorsPick($params); } + /** + * Returns item's editors pick status (using not formatted value) + * + * @param Array $params + * @return bool + */ + function IsEditorsPick($params) + { + $object =& $this->getObject($params); + + return $object->GetDBField('EditorsPick') == 1; + } + function ItemIcon($params) { // only for categories, not structure