Commit 69230970 authored by Leigh Stoller's avatar Leigh 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