From c238997eed083b0f786e5359d4df65d8a49b15d7 Mon Sep 17 00:00:00 2001 From: james Date: Tue, 30 Mar 2010 17:01:27 +0000 Subject: [PATCH] Only show fairs in the fair upload stats that have enable_stats turned on --- admin/fair_stats.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/fair_stats.php b/admin/fair_stats.php index 8d5ff95..c55f62f 100644 --- a/admin/fair_stats.php +++ b/admin/fair_stats.php @@ -134,7 +134,7 @@ echo "
"; - $q=mysql_query("SELECT * FROM fairs WHERE `type`='sfiab' OR `type`='ysc'"); + $q=mysql_query("SELECT * FROM fairs WHERE `type`='sfiab' OR `type`='ysc' AND enable_stats='yes'"); echo "