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
added: tem->append(). run.php supports cms. Spaces preserved in pulldown displays
[wfpl.git]
/
metaform.php
diff --git
a/metaform.php
b/metaform.php
index
4deffd1
..
83df7a2
100644
(file)
--- a/
metaform.php
+++ b/
metaform.php
@@
-172,6
+172,8
@@
function make_sql() {
$tem->set('type', $sql);
if($sql == 'int') {
$tem->set('default', '0');
+ } elseif($format == 'yesno') {
+ $tem->set('default', '"No"');
} else {
$tem->set('default', '""');
}