forked from science-ation/science-ation
Download schedule_judges and self_nominate for awards too
This commit is contained in:
parent
7616982ff2
commit
6bdbc85829
@ -145,13 +145,17 @@ case 'check':
|
||||
}
|
||||
|
||||
|
||||
$self_nominate = ($award['self_nominate'] == 'yes') ? 'yes' : 'no';
|
||||
$schedule_judges = ($award['schedule_judges'] == 'yes') ? 'yes' : 'no';
|
||||
mysql_query("UPDATE award_awards SET
|
||||
sponsors_id='$sponsor_id',
|
||||
name='".mysql_escape_string($award['name_en'])."',
|
||||
criteria='".mysql_escape_string($award['criteria_en'])."',
|
||||
external_postback='".mysql_escape_string($postback)."',
|
||||
external_register_winners='".(($award['external_register_winners']==1)?1:0)."',
|
||||
external_additional_materials='".(($award['external_additional_materials']==1)?1:0)."'
|
||||
external_additional_materials='".(($award['external_additional_materials']==1)?1:0)."',
|
||||
self_nominate='$self_nominate',
|
||||
schedule_judges='$schedule_judges'
|
||||
WHERE
|
||||
id='$award_id'
|
||||
AND external_identifier='".mysql_escape_string($identifier)."'
|
||||
|
Loading…
Reference in New Issue
Block a user