From: Karl O. Pinc Date: Mon, 29 Jul 2024 16:54:33 +0000 (-0500) Subject: Temporary fix to non-upload components X-Git-Url: https://papio.biology.duke.edu/gitweb/?a=commitdiff_plain;h=fe174fc32c3c2cf083432208fb6f2b74d3c4431c;p=pgwui_common Temporary fix to non-upload components --- diff --git a/src/pgwui_common/templates/auth_parts.mak b/src/pgwui_common/templates/auth_parts.mak index 7d2f9b9..00dc4b1 100644 --- a/src/pgwui_common/templates/auth_parts.mak +++ b/src/pgwui_common/templates/auth_parts.mak @@ -38,7 +38,7 @@ name="csrf_token" value="${csrf_token}" /> - % if db_changed is not None: + % if db_changed is not None and db_changed is not UNDEFINED: <%doc>This is a hack. It should be fixed so that only double-upload detecting forms unconditionally generate this element.