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:
f13c842
)
metaform: fixed detection of file/image upload
author
Jason Woofenden
<jason@jasonwoof.com>
Sat, 23 Oct 2010 22:22:31 +0000
(18:22 -0400)
committer
Jason Woofenden
<jason@jasonwoof.com>
Sat, 23 Oct 2010 22:22:31 +0000
(18:22 -0400)
metaform.php
patch
|
blob
|
history
diff --git
a/metaform.php
b/metaform.php
index
e66a477
..
be218d4
100644
(file)
--- a/
metaform.php
+++ b/
metaform.php
@@
-232,7
+232,7
@@
function make_html($whole_file = true) {
$tem->show('row');
}
- if(($input == 'image' || $input='file') && !$uploads_output_already) {
+ if(($input == 'image' || $input == 'file') && !$uploads_output_already) {
$tem->show('uploads');
$tem->set('enctype_attr', '" enctype="multipart/form-data');
$uploads_output_already = true;