Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
metaform codegen: use tem_auto_unset()
[wfpl.git]
/
metaform.php
diff --git
a/metaform.php
b/metaform.php
index
d134f92
..
fdd1ad3
100644
(file)
--- a/
metaform.php
+++ b/
metaform.php
@@
-83,12
+83,9
@@
function tem_set_globals(&$tem) {
'opt_pass');
foreach($bools as $bool) {
if(format_bool($GLOBALS[$bool])) {
'opt_pass');
foreach($bools as $bool) {
if(format_bool($GLOBALS[$bool])) {
- $tem->set($bool, 1);
- } else {
- $tem->set($bool . '_else', 1);
+ $tem->set($bool);
}
}
}
}
-
}
function metaform() {
}
function metaform() {