mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-02-12 16:29:03 +00:00
Fix error message on request page
Fix error message on request page when user/s have not permission to view it.
This commit is contained in:
parent
2707004cec
commit
acc0d7afa5
@ -8,7 +8,7 @@
|
|||||||
$MinimumVote = 20 * 1024 * 1024;
|
$MinimumVote = 20 * 1024 * 1024;
|
||||||
|
|
||||||
if (!empty($LoggedUser['DisableRequests'])) {
|
if (!empty($LoggedUser['DisableRequests'])) {
|
||||||
error('Your request privileges have been removed.');
|
error(403);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isset($_REQUEST['action'])) {
|
if (!isset($_REQUEST['action'])) {
|
||||||
|
Loading…
Reference in New Issue
Block a user