From e673bdb50cd82cf8b112180dd12ad71515d2bf47 Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Thu, 1 May 2014 16:06:38 +0200 Subject: [PATCH] Fixed privilege checking --- src/Controllers/PostController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Controllers/PostController.php b/src/Controllers/PostController.php index cafedc0d..2495eccf 100644 --- a/src/Controllers/PostController.php +++ b/src/Controllers/PostController.php @@ -38,7 +38,7 @@ class PostController $context->massTagTag = $additionalInfo; $context->massTagQuery = $query; - if (!Access::confirm(Privilege::MassTag, 'all')) + if (!Access::check(Privilege::MassTag, 'all')) $query = trim($query . ' submit:' . $context->user->name); }