From: Jason Date: Mon, 15 Sep 2008 21:45:31 +0000 (-0400) Subject: Merge branch 'master' of /home/jason/dev/git/wfpl X-Git-Url: https://jasonwoof.com/gitweb/?a=commitdiff_plain;h=c3133300f98840b9cedd56f6269274810160d6c2;hp=f6ad488445b33f4eda0fca1fedcb230e03fd2721;p=wfpl.git Merge branch 'master' of /home/jason/dev/git/wfpl --- diff --git a/encode.php b/encode.php index f93387b..c08f8af 100644 --- a/encode.php +++ b/encode.php @@ -99,7 +99,7 @@ function enc_url_path($str) { # # Example: function enc_checked($str) { - if($str == 'Yes') { + if($str && $str !== 'No' && $str !== 'False' && $str !== 'false') { return '" checked="checked'; } else { return '';