diff --git a/admin/award_download.php b/admin/award_download.php index 1430fa3..6de8f71 100644 --- a/admin/award_download.php +++ b/admin/award_download.php @@ -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)."'