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
(from parent 1:
4a8a138
)
metaform: remove buggy unused code from fields parser
author
Jason Woofenden
<jason@jasonwoof.com>
Mon, 11 Aug 2014 15:06:55 +0000
(11:06 -0400)
committer
Jason Woofenden
<jason@jasonwoof.com>
Mon, 11 Aug 2014 15:06:55 +0000
(11:06 -0400)
metaform.php
patch
|
blob
|
history
diff --git
a/metaform.php
b/metaform.php
index
deba1de
..
1cfb70c
100644
(file)
--- a/
metaform.php
+++ b/
metaform.php
@@
-179,10
+179,6
@@
function get_fields() {
$name = trim(substr($field, 0, -1)); # FIXME: stop this from getting enc_caption()ed
$type = '{';
$options = null;
- } elseif(substr($field, -1) == '{') {
- $name = 'ignored';
- $type = '}';
- $options = null;
} else {
list($name, $type, $options) = split(' *', $field);
if($options) $options = explode(',', $options);