Use parameter in correct function call
authorMichael M Slusarz <slusarz@curecanti.org>
Mon, 26 Jul 2010 06:16:29 +0000 (00:16 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Mon, 26 Jul 2010 06:17:45 +0000 (00:17 -0600)
framework/Mime/lib/Horde/Mime/Part.php

index 2805cf3..e7e96b2 100644 (file)
@@ -1795,7 +1795,7 @@ class Horde_Mime_Part
         }
 
         if (isset($data['description'])) {
-            $ob->setDescription(Horde_Mime::decode($data['description']), $ob->getCharset());
+            $ob->setDescription(Horde_Mime::decode($data['description'], $ob->getCharset()));
         }
 
         /* Set the name. */