lock logging fix

This commit is contained in:
Shish 2012-01-26 02:15:06 +00:00
parent 03204859c1
commit a208d5c6bc

View File

@ -384,7 +384,7 @@ class Image {
$sln = str_replace('"', "", $sln);
if($old_sln != $sln){
$database->execute("UPDATE images SET locked=:yn WHERE id=:id", array("yn"=>$sln, "id"=>$this->id));
log_info("core-image", "Setting Image #{$this->id} lock to: {$event->locked}".$sln);
log_info("core-image", "Setting Image #{$this->id} lock to: $ln");
}
}