needs to be '', not null.
authorMichael M Slusarz <slusarz@curecanti.org>
Fri, 5 Dec 2008 05:39:14 +0000 (22:39 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Fri, 5 Dec 2008 05:39:14 +0000 (22:39 -0700)
JSON converts null to 'null' apparently.

imp/lib/Views/ShowMessage.php

index 4a3e9dd..20da262 100644 (file)
@@ -324,7 +324,7 @@ class IMP_Views_ShowMessage
                 : sprintf(ngettext("%d Attachment", "%d Attachments", $atc_parts), $atc_parts);
             $result['atc_download'] = (count($display_ids) > 2)
                 ? Horde::link($imp_contents->urlView($imp_contents->getMIMEMessage(), 'download_all', array('params' => array('download_ids' => serialize($atc_parts))))) . '[' . _("Save All") . ']</a>'
-                : null;
+                : '';
         }
 
         /* Show attachment information in headers? */