X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=format.php;h=f93d47f4ad102ed1a5dd86616b3badee991eb188;hb=3746445139a650d2ffdc9fc8099af9645fcb2308;hp=de45928380b4356e67c8dbba85102e9666d53ea4;hpb=f6ad488445b33f4eda0fca1fedcb230e03fd2721;p=wfpl.git diff --git a/format.php b/format.php index de45928..f93d47f 100644 --- 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; } }