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 "