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
CHANGED db.php API so it doesn't append WHERE for you
[wfpl.git]
/
metaform
/
template.php
diff --git
a/metaform/template.php
b/metaform/template.php
index
07eda6a
..
258581c
100644
(file)
--- a/
metaform/template.php
+++ b/
metaform/template.php
@@
-114,7
+114,7
@@
function ~form_name~() {
list(~php_fields~) = db_get_row('~form_name~', '~db_fields~', 'id = %"', $edit_id);
~tem_sets.tab~
} else {
list(~php_fields~) = db_get_row('~form_name~', '~db_fields~', 'id = %"', $edit_id);
~tem_sets.tab~
} else {
- # form not submitted, you can set default values like so
+ # form not submitted, you can set default values like so:
#tem_set('~always_field~', 'Yes');
}<!--~upload_max start~-->
#tem_set('~always_field~', 'Yes');
}<!--~upload_max start~-->