From 3746445139a650d2ffdc9fc8099af9645fcb2308 Mon Sep 17 00:00:00 2001 From: Jason Date: Mon, 15 Sep 2008 17:49:03 -0400 Subject: [PATCH] fixed format_bool() to actually format as bool --- format.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } } -- 1.7.10.4