From a903c4740351a9aa6aaee3641ccceaa28c716513 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 15 Aug 2006 03:55:02 +0000 Subject: [PATCH] bug #29 --- www/cap.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/www/cap.php b/www/cap.php index 51b4293..538134a 100644 --- a/www/cap.php +++ b/www/cap.php @@ -220,11 +220,11 @@ $this->SetFont('SJIS','',9); $this->SetXY(17, $top + 55); $this->Write(0, recode($_SESSION['_config']['recode'], _("Points Allocated")).": ______________"); -// if($maxpoints > 0) -// { -// $this->SetXY(17, $top + 60); -// $this->Write(0, recode($_SESSION['_config']['recode'], _("Maximum Points")).": ".$maxpoints); -// } + if($maxpoints > 0) + { + $this->SetXY(17, $top + 60); + $this->Write(0, recode($_SESSION['_config']['recode'], _("Maximum Points")).": ".$maxpoints); + } } } @@ -235,8 +235,8 @@ $maxpoints = intval($_GET['maxpoints']); if($maxpoints < 0) $maxpoints = 0; - if($maxpoints == 0) - $maxpoints = intval(maxpoints()); +// if($maxpoints == 0) +// $maxpoints = intval(maxpoints()); $pdf = new PDF('P', 'mm', $format); if($_SESSION['_config']['language'] == "ja_JP")