This commit is contained in:
Shish 2012-03-19 13:40:11 +00:00
parent ea90e21d86
commit e8b0e36b48

View file

@ -10,7 +10,7 @@ class Tagger extends Extension {
public function onDisplayingImage(DisplayingImageEvent $event) {
global $page, $config, $user;
if($user->can("edit_image_tag") && ($event->image->is_locked() || $user->can("edit_image_lock")) {
if($user->can("edit_image_tag") && ($event->image->is_locked() || $user->can("edit_image_lock"))) {
$this->theme->build_tagger($page,$event);
}
}