forked from science-ation/science-ation
- typo
This commit is contained in:
parent
a3f8957d96
commit
6a3eacaf9a
@ -73,7 +73,7 @@ function handle_getawards(&$u, $fair, &$data, &$response)
|
|||||||
|
|
||||||
$ids = array();
|
$ids = array();
|
||||||
/* Load a list of awards linked to the fair id */
|
/* 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)) {
|
while($r = mysql_fetch_assoc($q)) {
|
||||||
$aaid = $r['award_awards_id'];
|
$aaid = $r['award_awards_id'];
|
||||||
if($r['download_award'] == 'yes') $ids[] = $aaid;
|
if($r['download_award'] == 'yes') $ids[] = $aaid;
|
||||||
|
Loading…
Reference in New Issue
Block a user