Bug #9529: Fix undefined error
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 25 Jan 2011 09:52:54 +0000 (02:52 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 25 Jan 2011 10:08:09 +0000 (03:08 -0700)
framework/Mime/lib/Horde/Mime/Part.php

index 1c098f2..5493e4b 100644 (file)
@@ -1883,7 +1883,7 @@ class Horde_Mime_Part implements ArrayAccess, Countable
         }
 
         if (isset($data['description'])) {
-            $ob->setDescription(Horde_Mime::decode($data['description']));
+            $ob->setDescription(Horde_Mime::decode($data['description']), 'UTF-8');
         }
 
         /* Set the name. */