diff options
-rwxr-xr-x | minimun | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -24,10 +24,10 @@ foreach $pair (@pairs) { my ($in, $out); $in = "\n"; -if ($ENV{'PATH_INFO'} eq '/award.pdf'){ +if (index($ENV{'PATH_INFO'},'award.pdf') != -1){ $in .= "\\award{$FORM{'committee'}}{$FORM{'country'}}{$FORM{'award'}}{$FORM{'school'}}"; } -elsif ($ENV{'PATH_INFO'} eq '/room.pdf'){ +elsif (index($ENV{'PATH_INFO'},'room.pdf') != -1){ $in .= "\\room{$FORM{'committee'}}"; } else{ |