a bunch of fixes

This commit is contained in:
Shish
2009-01-22 05:42:44 -08:00
parent bda38bff6c
commit d98962a30e
12 changed files with 28 additions and 40 deletions

View File

@@ -48,7 +48,7 @@ class TextScore implements Extension {
$i_score = int_escape($_POST['text_score__score']);
if($i_score >= -2 || $i_score <= 2) {
send_event(new TextScoreSetEvent($event->image_id, $user, $i_score));
send_event(new TextScoreSetEvent($event->image->id, $user, $i_score));
}
}