All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 69230970 authored by Leigh B Stoller's avatar Leigh B Stoller

Minor fix for modifying an unapproved reservation by admin.

parent 7eeaa0fc
......@@ -552,7 +552,7 @@ if ($clear || $clear_idx) {
# If they said "-p", don't approve no matter what.
# If an admin said to force approval, that overrides $pending and limits.
#
if (!$pending) {
if (! ($pending || $approve)) {
my $approval_threshold;
if (! GetSiteVar("reservations/approval_threshold", \$approval_threshold)) {
$approval_threshold = 128;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment