diff --git a/xmltransport.php b/xmltransport.php index f039bf0..e77834d 100644 --- a/xmltransport.php +++ b/xmltransport.php @@ -73,7 +73,7 @@ function handle_getawards(&$u, $fair, &$data, &$response) $ids = array(); /* Load a list of awards linked to the fair id */ - $q = mysql_query("SELECT * FROM fairs_awards_link WHERE fairs_id='{$fair['id']'"); + $q = mysql_query("SELECT * FROM fairs_awards_link WHERE fairs_id='{$fair['id']}'"); while($r = mysql_fetch_assoc($q)) { $aaid = $r['award_awards_id']; if($r['download_award'] == 'yes') $ids[] = $aaid;