Temporary fix to non-upload components
authorKarl O. Pinc <kop@karlpinc.com>
Mon, 29 Jul 2024 16:54:33 +0000 (11:54 -0500)
committerKarl O. Pinc <kop@karlpinc.com>
Mon, 29 Jul 2024 16:54:33 +0000 (11:54 -0500)
src/pgwui_common/templates/auth_parts.mak

index 7d2f9b915e1bc7edcb8a1b1c004688f73c474dde..00dc4b13bd524c0748aa728f7915617f1d014c22 100644 (file)
@@ -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.</%doc>
     <input type="hidden"