forked from science-ation/science-ation
Only show fairs in the fair upload stats that have enable_stats turned on
This commit is contained in:
parent
80ff166203
commit
c238997eed
@ -134,7 +134,7 @@
|
||||
|
||||
|
||||
echo "<form name=\"fairselect\" action=\"$PHPSELF\" method=\"get\">";
|
||||
$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 "<select name=\"id\">";
|
||||
echo "<option value=\"\">".i18n("Choose a destination")."</option>\n";
|
||||
while($r=mysql_fetch_object($q)) {
|
||||
|
Loading…
Reference in New Issue
Block a user