From: Jason Woofenden Date: Thu, 14 Jun 2007 04:28:38 +0000 (-0400) Subject: metaform doesn't include the hidden field for the database ID if there's no database X-Git-Url: https://jasonwoof.com/gitweb/?a=commitdiff_plain;h=1a959570273fb3d6e37fb27cf152fd4c62ec4770;hp=9f8ed1dba7b2bb0319ab69f843f20e0d45ff736c;p=wfpl.git metaform doesn't include the hidden field for the database ID if there's no database --- diff --git a/metaform.php b/metaform.php index 656d4e0..1119d0c 100644 --- a/metaform.php +++ b/metaform.php @@ -205,6 +205,7 @@ function make_html($whole_file = true) { if($GLOBALS['opt_db'] == 'Yes') { $tem->sub('opt_db_1'); + $tem->sub('opt_db_2'); } else { $tem->sub('opt_db_1_else'); } diff --git a/metaform/template.html b/metaform/template.html index a7c0e88..b28ceb0 100644 --- a/metaform/template.html +++ b/metaform/template.html @@ -29,7 +29,7 @@ div.error { border: 2px solid red; padding: 13px; margin: 20px; background: #ffd

~error_message.html~

-
+
~caption.html~: ~caption.html~: ~caption.html~: ~caption.html~: ~caption.html~:
~caption.html~: ~caption.html~: