log IDs of things

This commit is contained in:
Shish
2013-08-30 00:19:38 +01:00
parent 7c140680b7
commit 07304861f3
6 changed files with 12 additions and 11 deletions

View File

@@ -174,7 +174,7 @@ class NumericScore extends Extension {
public function onNumericScoreSet(NumericScoreSetEvent $event) {
global $user;
log_debug("numeric_score", "Rated Image #{$event->image_id} as {$event->score}", true);
log_debug("numeric_score", "Rated Image #{$event->image_id} as {$event->score}", true, array("image_id"=>$event->image_id));
$this->add_vote($event->image_id, $user->id, $event->score);
}