X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=metaform.php;h=e490f378d5354f2e40a8e5d13f340bf823bf80b0;hb=a72cc638463765aa10fc4b106efce295d7d44457;hp=92941897e8627a521e9b81575dab550f827f074b;hpb=7ed4e19f49230c9ac8c0d1eb5a80cbae46d6c61b;p=wfpl.git diff --git a/metaform.php b/metaform.php index 9294189..e490f37 100644 --- a/metaform.php +++ b/metaform.php @@ -232,7 +232,7 @@ function view_sql() { function find_always_field($fields) { foreach($fields as $field) { list($name, $type, $input, $format, $sql) = $field; - if($input != 'submit' && $input != 'image' && $input != 'file' && $input != 'checkbox' && $input != 'radio') { + if($input != 'submit' && $input != 'image' && $input != 'file' && $input != 'checkbox' && $input != 'radio' && $type != '{') { return $name; } }