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:
ecd23e9
)
metaform: fixed bug when first field was an image
author
Jason Woofenden
<jason@jasonwoof.com>
Wed, 11 Nov 2009 22:34:04 +0000
(17:34 -0500)
committer
Jason Woofenden
<jason@jasonwoof.com>
Wed, 11 Nov 2009 22:34:04 +0000
(17:34 -0500)
metaform.php
patch
|
blob
|
history
diff --git
a/metaform.php
b/metaform.php
index
0f7563e
..
3d66baf
100644
(file)
--- 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;
}
}