From 6522cd73acc1426772d00eb0a71dff4842d116b7 Mon Sep 17 00:00:00 2001 From: "Kyle J. McKay" Date: Mon, 15 Feb 2021 04:09:28 -0700 Subject: [PATCH] editproj.cgi: suppress "operation aborted" for "view all" On a "view all" operation there's nothing to abort -- either the password matched or it didn't, but nothing else happens. Suppress the misleading and alarming "operation aborted" message that would otherwise occur on a "View All" if there were any issues detected. The issues will still show, just not the ugly "operation aborted" -- but it's still there for failure of an "Update" operation. Signed-off-by: Kyle J. McKay --- cgi/editproj.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgi/editproj.cgi b/cgi/editproj.cgi index 48ac557..8b810b2 100755 --- a/cgi/editproj.cgi +++ b/cgi/editproj.cgi @@ -90,7 +90,7 @@ if (($y0 eq 'Update' || $y0 eq 'View All' || $y0 eq 'Restart Mirroring') && $cgi $gcgi->err("Session has timed out or is invalid, please try again."); } # submitted, let's see - $proj->cgi_fill($gcgi) || $y0 eq 'View All' or last; + $proj->cgi_fill($gcgi, $y0 eq 'View All') || $y0 eq 'View All' or last; if ($proj->authenticate($gcgi)) { $protok = 1; $y0 eq 'View All' and last; -- 2.11.4.GIT