From 57ddaa3014ec6a9ded6c293cc256f6fc7cff9da9 Mon Sep 17 00:00:00 2001 From: Pererinha Date: Thu, 26 Feb 2015 15:49:47 -0300 Subject: [PATCH] partial #4866 --- include/library/Crunchbutton/Community.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/library/Crunchbutton/Community.php b/include/library/Crunchbutton/Community.php index eb1684b8d..e8880de73 100644 --- a/include/library/Crunchbutton/Community.php +++ b/include/library/Crunchbutton/Community.php @@ -678,7 +678,7 @@ class Crunchbutton_Community extends Cana_Table_Trackchange { } public function isAutoClosed(){ - return ( intval( $this->is_auto_closed ) == 1 ); + return ( intval( $this->is_auto_closed ) > 0 ); } public function shutDownCommunity( $dt = null ){