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:
c313330
)
fixed format_bool() to actually format as bool
author
Jason
<jason@parth.(none)>
Mon, 15 Sep 2008 21:49:03 +0000
(17:49 -0400)
committer
Jason
<jason@parth.(none)>
Mon, 15 Sep 2008 21:49:03 +0000
(17:49 -0400)
format.php
patch
|
blob
|
history
diff --git
a/format.php
b/format.php
index
de45928
..
f93d47f
100644
(file)
--- a/
format.php
+++ b/
format.php
@@
-126,9
+126,9
@@
function format_unix($str) {
function format_bool($str) {
if($str && $str !== 'No' && $str !== 'False' && $str !== 'false') {
- return 'Yes';
+ return 1;
} else {
- return 'No';
+ return 0;
}
}