diff --git a/admin/reports_acscript.php b/admin/reports_acscript.php index 254f1b6..23715de 100644 --- a/admin/reports_acscript.php +++ b/admin/reports_acscript.php @@ -249,9 +249,9 @@ if(!$scriptformat) $scriptformat="default"; if($studnum>0) $students.=", "; $students.="$studentinfo->firstname $studentinfo->lastname"; - if($studnum>0) $pronounce .= ", "; - $pronounce .= "\"{$studentinfo->pronunciation}\""; - $rawpronounce .= "{$studentinfo->pronunciation}"; + if($studentinfo->pronunciation) { + $students .= " (Pronounced \"{$studentinfo->pronunciation}\")"; + } $student_winner[$studnum] = "$studentinfo->firstname $studentinfo->lastname"; $student_win_pronunc[$studnum] = "$studentinfo->pronunciation"; @@ -261,8 +261,6 @@ if(!$scriptformat) $scriptformat="default"; if($scriptformat=="default") { $rep->addText($students); - if(trim($rawpronounce) != "" && $show_pronunciation == TRUE) - $rep->addText(" Pronunciation: $pronounce"); $rep->addText(" School: {$student_school[0]}"); } if($scriptformat=="formatted") {