Fixed privilege checking
This commit is contained in:
parent
d08c15b9e7
commit
e673bdb50c
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ class PostController
|
||||||
$context->massTagTag = $additionalInfo;
|
$context->massTagTag = $additionalInfo;
|
||||||
$context->massTagQuery = $query;
|
$context->massTagQuery = $query;
|
||||||
|
|
||||||
if (!Access::confirm(Privilege::MassTag, 'all'))
|
if (!Access::check(Privilege::MassTag, 'all'))
|
||||||
$query = trim($query . ' submit:' . $context->user->name);
|
$query = trim($query . ' submit:' . $context->user->name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue