Index: trunk/core/units/stylesheets/stylesheets_item.php =================================================================== diff -u -r1654 -r1690 --- trunk/core/units/stylesheets/stylesheets_item.php (.../stylesheets_item.php) (revision 1654) +++ trunk/core/units/stylesheets/stylesheets_item.php (.../stylesheets_item.php) (revision 1690) @@ -35,9 +35,8 @@ fwrite($fp, $ret); fclose($fp); - $this->SetDBField('LastCompiled_date', $compile_ts); - $this->SetDBField('LastCompiled_time', $compile_ts); - $this->Update(); + $sql = 'UPDATE '.$this->TableName.' SET LastCompiled = '.$compile_ts.' WHERE '.$this->IDField.' = '.$this->GetID(); + $this->Conn->Query($sql); } } }