Bug #9529: fix decode() call
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 25 Jan 2011 17:04:38 +0000 (10:04 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 25 Jan 2011 17:04:38 +0000 (10:04 -0700)
framework/Mime/lib/Horde/Mime/Part.php

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