Bug #8578: Fix variable name
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 15 Sep 2009 16:40:39 +0000 (10:40 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 15 Sep 2009 16:40:39 +0000 (10:40 -0600)
imp/lib/Imap/Flags.php

index 298965b..fe496e6 100644 (file)
@@ -291,7 +291,7 @@ class IMP_Imap_Flags
 
         if (!empty($options['atc'])) {
             $imp_mbox_ui = new IMP_UI_Mailbox();
-            if ($type = $imp_mbox_ui->getAttachmentType($ob['structure']->getType())) {
+            if ($type = $imp_mbox_ui->getAttachmentType($options['atc']->getType())) {
                 $process[$type] = $f[$type];
             }
         }