Resolved issue with bulk rater

This commit is contained in:
Matthew Barbour
2019-06-19 23:37:33 -05:00
committed by matthew
parent 921ec9a7bb
commit a834d1f814

View File

@@ -170,7 +170,7 @@ class Ratings extends Extension
global $user;
if ($user->is_admin()) {
$event->add_action("bulk_rate", "Set Rating", "", $this->theme->get_selection_rater_html("bulk_rating"));
$event->add_action("bulk_rate","Set Rating","",$this->theme->get_selection_rater_html("u","bulk_rating"));
}
}
@@ -191,7 +191,7 @@ class Ratings extends Extension
if ($image==null) {
continue;
}
send_event(new RatingSetEvent($image, $rating));
$total++;
}