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
(from parent 2:
f6ad488
)
Merge branch 'master' of /home/jason/dev/git/wfpl
author
Jason
<jason@parth.(none)>
Mon, 15 Sep 2008 21:45:31 +0000
(17:45 -0400)
committer
Jason
<jason@parth.(none)>
Mon, 15 Sep 2008 21:45:31 +0000
(17:45 -0400)
encode.php
patch
|
blob
|
history
diff --git
a/encode.php
b/encode.php
index
f93387b
..
c08f8af
100644
(file)
--- a/
encode.php
+++ b/
encode.php
@@
-99,7
+99,7
@@
function enc_url_path($str) {
#
# Example: <input type="checkbox" name="foo~foo.checked~">
function enc_checked($str) {
- if($str == 'Yes') {
+ if($str && $str !== 'No' && $str !== 'False' && $str !== 'false') {
return '" checked="checked';
} else {
return '';