From 1aa759047a031eedff3a86e9c9cb9b971b264771 Mon Sep 17 00:00:00 2001 From: dave Date: Wed, 10 Feb 2010 05:36:16 +0000 Subject: [PATCH] Fix the link to the materials --- admin/winners.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/admin/winners.php b/admin/winners.php index 3a84b22..913a667 100644 --- a/admin/winners.php +++ b/admin/winners.php @@ -212,8 +212,7 @@ case 'additional_materials': $fair = mysql_fetch_assoc($q); $pdf = fair_additional_materials($fair, $a, $config['FAIRYEAR']); foreach($pdf['header'] as $h) header($h); -// echo base64_decode($pdf['data64']); - base64_decode($pdf['data64']); + echo $pdf['data']; exit; } @@ -612,7 +611,7 @@ function print_award(&$r, $fairs_id, $editor=false, $editor_data=array()) $d = 'disabled="disabled"'; $a = ''; if($has_winners == true) { - echo ""; + echo ""; $d = ''; $a = ''; }