projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a164b3
)
RT#870 fix sendmail encoding
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Tue, 20 Dec 2011 14:43:03 +0000
(15:43 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Tue, 20 Dec 2011 14:43:03 +0000
(15:43 +0100)
opac/opac-userupdate.pl
patch
|
blob
|
history
diff --git
a/opac/opac-userupdate.pl
b/opac/opac-userupdate.pl
index
18cafdb
..
0cdefe2
100755
(executable)
--- a/
opac/opac-userupdate.pl
+++ b/
opac/opac-userupdate.pl
@@
-32,6
+32,7
@@
use C4::Dates qw/format_date/;
use C4::Members;
use C4::Members::Attributes;
use C4::Branch;
+use Encode;
my $query = new CGI;
@@
-123,6
+124,8
@@
EOF
'Content-Type' => 'text/plain; charset="utf8"',
);
+ Encode::_utf8_off($mail{$_}) foreach keys %mail;
+
if ( sendmail %mail ) {
# do something if it works....