Fix parse error.
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 25 Nov 2008 03:25:29 +0000 (20:25 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 25 Nov 2008 03:25:29 +0000 (20:25 -0700)
imp/view.php

index 7756083..9165815 100644 (file)
@@ -59,9 +59,6 @@ if ($actionID == 'compose_attach_preview') {
     /* Initialize the IMP_Compose:: object. */
     $imp_compose = &IMP_Compose::singleton(Util::getFormData('composeCache'));
     $mime = $imp_compose->buildAttachment($id);
-    if (empty($mime, 'PEAR_Error')) {
-        Horde::fatal('Could not load attachment', __FILE__, __LINE__);
-    }
 
     /* Create a dummy IMP_Contents() object so we can use the view code below.
      * Then use the 'view_attach' handler to output. */