Index: branches/RC/core/units/categories/categories_item.php =================================================================== diff -u -N -r10906 -r10919 --- branches/RC/core/units/categories/categories_item.php (.../categories_item.php) (revision 10906) +++ branches/RC/core/units/categories/categories_item.php (.../categories_item.php) (revision 10919) @@ -54,7 +54,6 @@ return $parent_path.$this->GetID().'|'; } - /** * replace not allowed symbols with "_" chars + remove duplicate "_" chars in result * @@ -64,7 +63,7 @@ function stripDisallowed($string) { $filenames_helper =& $this->Application->recallObject('FilenamesHelper'); - /* @var $filenames_helper EFilenameHelper */ + /* @var $filenames_helper FilenamesHelper */ $string = $filenames_helper->replaceSequences($string); @@ -89,7 +88,7 @@ $escape_char = $this->Application->ConfigValue('FilenameSpecialCharReplacement'); $item_id = !$this->GetID() ? 0 : $this->GetID(); - $check_in_parent_cat_only = $item_id ? ' AND ParentId = '.$this->GetDBField("ParentId") : ''; + $check_in_parent_cat_only = $item_id ? ' AND ParentId = '.$this->GetDBField('ParentId') : ''; // check temp table $sql_temp = 'SELECT '.$this->IDField.' FROM '.$this->TableName.' WHERE Filename = '.$this->Conn->qstr($filename).$check_in_parent_cat_only;