We've already isolated the keys from this array.
authorMichael M Slusarz <slusarz@curecanti.org>
Fri, 14 Nov 2008 06:41:18 +0000 (23:41 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Fri, 14 Nov 2008 06:41:18 +0000 (23:41 -0700)
imp/lib/Mime/Viewer/mdn.php

index b2cad75..7b7da51 100644 (file)
@@ -92,7 +92,7 @@ class IMP_Horde_Mime_Viewer_mdn extends Horde_Mime_Viewer_Driver
             $data = $first_part[$first_id]['data'];
         }
 
-        $ret = array_combine(array_keys($parts), array_fill(0, count($parts), null));
+        $ret = array_combine($parts, array_fill(0, count($parts), null));
         $ret[$mdn_id] = array(
             'data' => $data,
             'status' => $status,