Resolved issue with bulk rater
This commit is contained in:
		
							parent
							
								
									921ec9a7bb
								
							
						
					
					
						commit
						a834d1f814
					
				| @ -170,7 +170,7 @@ class Ratings extends Extension | |||||||
|         global $user; |         global $user; | ||||||
| 
 | 
 | ||||||
|         if ($user->is_admin()) { |         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) { |                         if ($image==null) { | ||||||
|                             continue; |                             continue; | ||||||
|                         } |                         } | ||||||
|          | 
 | ||||||
|                         send_event(new RatingSetEvent($image, $rating)); |                         send_event(new RatingSetEvent($image, $rating)); | ||||||
|                         $total++; |                         $total++; | ||||||
|                     } |                     } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user