Fixed privilege checking

This commit is contained in:
Marcin Kurczewski 2014-05-01 16:06:38 +02:00
parent d08c15b9e7
commit e673bdb50c

View file

@ -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);
}