projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2399942
)
Add missing charset conversion.
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Sun, 6 Jun 2010 15:59:55 +0000
(11:59 -0400)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Sun, 6 Jun 2010 15:59:55 +0000
(11:59 -0400)
Need to convert the charset here also, if fileas isn't already populated from the
name field.
Thanks to Lukas Gradl <horde#ssn.at> for tracking this one down.
turba/lib/Driver.php
patch
|
blob
|
history
diff --git
a/turba/lib/Driver.php
b/turba/lib/Driver.php
index
cf28365
..
2c3ae69
100644
(file)
--- a/
turba/lib/Driver.php
+++ b/
turba/lib/Driver.php
@@
-2420,7
+2420,7
@@
class Turba_Driver
}
if (empty($this->fileas)) {
- $message->fileas =
Turba::formatName($object
);
+ $message->fileas =
Horde_String::convertCharset(Turba::formatName($object), $charset, 'utf-8'
);
}
return $message;