* added missing post decoding of latin-1 date
svn path=/trunk/; revision=16784
This commit is contained in:
vecāks
d07d524c7f
revīzija
36f9794452
|
@ -20,6 +20,7 @@ my %att = (
|
|||
'CGI' => 0,
|
||||
'Cwd' => 0,
|
||||
'DateTime' => 0, # Tested with 0.53
|
||||
'Encode' => 0, # Tested with 2.35
|
||||
'Fcntl' => 0,
|
||||
'File::Basename' => 0,
|
||||
'File::Copy' => 0,
|
||||
|
|
|
@ -21,6 +21,7 @@ use lib "$root/tools";
|
|||
|
||||
use CGI;
|
||||
use DateTime;
|
||||
use Encode qw (decode);
|
||||
use Template;
|
||||
use WebBuild::FormValidation;
|
||||
use WebBuild::DynamicContent;
|
||||
|
@ -75,6 +76,7 @@ my $data = { institution_name => $query->param ('institution-name'),
|
|||
contact => $query->param ('contact') };
|
||||
|
||||
$template->process ('pdfreaders-mail.tt2', $data, \$mail);
|
||||
$mail = decode ('iso-8859-1', $mail); # This must match the encoding of the website!
|
||||
|
||||
open MAIL, "|/usr/lib/sendmail -t -f web\@fsfeurope.org";
|
||||
print MAIL $mail;
|
||||
|
|
Notiek ielāde…
Atsaukties uz šo jaunā problēmā