Index: trunk/core/units/stylesheets/stylesheets_item.php =================================================================== diff -u -N -r3559 -r5431 --- trunk/core/units/stylesheets/stylesheets_item.php (.../stylesheets_item.php) (revision 3559) +++ trunk/core/units/stylesheets/stylesheets_item.php (.../stylesheets_item.php) (revision 5431) @@ -4,8 +4,7 @@ { function Compile() { - $this->Application->setUnitOption('selectors', 'AutoLoad', false); - $selector_item =& $this->Application->recallObject('selectors.item', 'selectors', Array('live_table'=>true) ); + $selector_item =& $this->Application->recallObject('selectors.item', 'selectors', Array('live_table'=>true, 'skip_autoload' => true) ); $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';