From 1a959570273fb3d6e37fb27cf152fd4c62ec4770 Mon Sep 17 00:00:00 2001 From: Jason Woofenden Date: Thu, 14 Jun 2007 00:28:38 -0400 Subject: [PATCH] metaform doesn't include the hidden field for the database ID if there's no database --- metaform.php | 1 + metaform/template.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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~

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