From 0c70f6a8cdf46b61c8d30f918833b8f2d8522009 Mon Sep 17 00:00:00 2001 From: Jason Woofenden Date: Wed, 11 Nov 2009 17:34:04 -0500 Subject: [PATCH] metaform: fixed bug when first field was an image --- metaform.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metaform.php b/metaform.php index 0f7563e..3d66baf 100644 --- a/metaform.php +++ b/metaform.php @@ -200,7 +200,7 @@ function view_sql() { function find_always_field($fields) { foreach($fields as $field) { list($name, $type, $input, $format, $sql) = $field; - if($input != 'submit' && $input != 'checkbox' && $input != 'radio') { + if($input != 'submit' && $input != 'image' && $input != 'checkbox' && $input != 'radio') { return $name; } } -- 1.7.10.4