diff --git a/admin/winners.php b/admin/winners.php index 58ddc3c..78b824f 100644 --- a/admin/winners.php +++ b/admin/winners.php @@ -120,6 +120,7 @@ case 'award_load': award_awards.order AS awards_order, award_awards.per_fair, award_awards.external_additional_materials, + award_awards.award_source_fairs_id, award_types.type FROM award_awards , @@ -155,6 +156,7 @@ case 'edit_load': award_awards.order AS awards_order, award_awards.per_fair, award_awards.external_additional_materials, + award_awards.award_source_fairs_id, award_types.type FROM award_awards , @@ -391,6 +393,7 @@ $q=mysql_query("SELECT award_awards.order AS awards_order, award_awards.per_fair, award_awards.external_additional_materials, + award_awards.award_source_fairs_id, award_types.type, sponsors.organization FROM @@ -484,7 +487,7 @@ function print_award(&$r, $fairs_id, $editor=false, $editor_data=array()) `order`"); echo mysql_error(); - if($r['external_additional_materials'] == 1 && $editor==false) { + if($r['external_additional_materials'] == 1 && $editor==false && $r['award_source_fairs_id'] == NULL) { echo "
"; echo ""; echo "
';