this should be rating

This commit is contained in:
Daku 2012-01-24 18:51:44 +00:00
parent a1b920777b
commit e9d7157d22

View file

@ -214,7 +214,7 @@ class Ratings implements Extension {
global $database; global $database;
if($old_rating != $rating){ if($old_rating != $rating){
$database->Execute("UPDATE images SET rating=? WHERE id=?", array($rating, $image_id)); $database->Execute("UPDATE images SET rating=? WHERE id=?", array($rating, $image_id));
log_info("core-image", "Rating for Image #{$image_id} set to: ".$this->theme->rating_to_name($rating)); log_info("rating", "Rating for Image #{$image_id} set to: ".$this->theme->rating_to_name($rating));
} }
} }
} }