1.1 --- a/htdocs/support/see_request.bml Thu Dec 01 15:46:56 2011 +0800
1.2 +++ b/htdocs/support/see_request.bml Fri Jan 27 13:51:52 2012 +0800
1.3 @@ -205,9 +205,9 @@
1.4 if ($foundspid) {
1.5 return BML::redirect("see_request?id=$foundspid");
1.6 } else {
1.7 - my $goback = BML::ml('.goback.text', {request_link=>"href='see_request?id=$spid'", spid=>$spid}) if $sp;
1.8 + my $goback = $sp ? BML::ml('.goback.text', {request_link=>"href='see_request?id=$spid'", spid=>$spid}) : undef;
1.9 my $what = $find eq 'next' || $find eq 'cnext' ? $ML{'.next'} : $ML{'.previous'};
1.10 - my $cat = $ML{'.incat'} if $find eq 'cnext' || $find eq 'cprev';
1.11 + my $cat = $find eq 'cnext' || $find eq 'cprev' ? $ML{'.incat'} : undef;
1.12 return "<?h1 $ML{'.error'} h1?>".BML::ml('.error.text2', {what=>$what, cat=>$cat})." $goback";
1.13 }
1.14 }