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
fixed session_purge_old() and session_messages.php, redirect() can now take just...
[wfpl.git]
/
format.php
diff --git
a/format.php
b/format.php
index
1fc74af
..
055e66d
100644
(file)
--- a/
format.php
+++ b/
format.php
@@
-52,10
+52,10
@@
function format_unix($str) {
}
function format_yesno($str) {
- if($str) {
- return "Yes";
+ if($str && $str != 'No') {
+ return 'Yes';
} else {
- return "No";
+ return 'No';
}
}