Index: branches/5.2.x/core/units/stylesheets/stylesheets_item.php =================================================================== diff -u -N -r14628 -r15137 --- branches/5.2.x/core/units/stylesheets/stylesheets_item.php (.../stylesheets_item.php) (revision 14628) +++ branches/5.2.x/core/units/stylesheets/stylesheets_item.php (.../stylesheets_item.php) (revision 15137) @@ -1,6 +1,6 @@ Application->recallObject('selectors.item', 'selectors', Array('live_table'=>true, 'skip_autoload' => true) ); + $selector_item = $this->Application->recallObject('selectors.item', 'selectors', Array('live_table'=>true, 'skip_autoload' => true) ); /* @var $selector_item SelectorsItem */ - + $parent_field = $this->Application->getUnitOption($selector_item->Prefix, 'ForeignKey'); $sql_template = 'SELECT '.$selector_item->IDField.' FROM '.$selector_item->TableName.' WHERE '.$parent_field.' = %s ORDER BY SelectorName ASC'; @@ -40,7 +40,7 @@ $compile_ts = adodb_mktime(); $css_path = WRITEABLE . '/stylesheets/'; - $file_helper =& $this->Application->recallObject('FileHelper'); + $file_helper = $this->Application->recallObject('FileHelper'); /* @var $file_helper FileHelper */ $file_helper->CheckFolder($css_path);