forked from science-ation/science-ation
Only create the awards if a sponsor is selected
This commit is contained in:
parent
4953d2c13c
commit
d17e145158
@ -56,7 +56,7 @@
|
|||||||
$cat[$r->id]=$r->category;
|
$cat[$r->id]=$r->category;
|
||||||
|
|
||||||
|
|
||||||
if($_GET['action']=="create")
|
if($_GET['action']=="create" && $_GET['award_sponsors_id'])
|
||||||
{
|
{
|
||||||
$q=mysql_query("SELECT * FROM award_prizes WHERE year='-1' AND award_awards_id='0' ORDER BY `order`");
|
$q=mysql_query("SELECT * FROM award_prizes WHERE year='-1' AND award_awards_id='0' ORDER BY `order`");
|
||||||
$prizes=array();
|
$prizes=array();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user