From a208d5c6bcfa13abf02a0a7552a6aa26979c3678 Mon Sep 17 00:00:00 2001 From: Shish Date: Thu, 26 Jan 2012 02:15:06 +0000 Subject: [PATCH] lock logging fix --- core/imageboard.pack.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/imageboard.pack.php b/core/imageboard.pack.php index e1495b91..7030277e 100644 --- a/core/imageboard.pack.php +++ b/core/imageboard.pack.php @@ -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"); } }