Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ac4eff
)
metaform: fix form beginning with section
author
Jason Woofenden
<jason@jasonwoof.com>
Mon, 21 Feb 2011 04:43:38 +0000
(23:43 -0500)
committer
Jason Woofenden
<jason@jasonwoof.com>
Mon, 21 Feb 2011 04:45:57 +0000
(23:45 -0500)
metaform.php
patch
|
blob
|
history
diff --git
a/metaform.php
b/metaform.php
index
9294189
..
e490f37
100644
(file)
--- 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;
}
}