From 5a12d664b09062b358616682f21663bc3c34655f Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Mon, 3 May 2010 23:11:53 -0600 Subject: [PATCH] Fix missing injector call --- imp/compose.php | 1 + 1 file changed, 1 insertion(+) diff --git a/imp/compose.php b/imp/compose.php index effcaefeb..2db0da141 100644 --- a/imp/compose.php +++ b/imp/compose.php @@ -97,6 +97,7 @@ $compose_disable = !IMP::canCompose(); /* Determine if mailboxes are readonly. */ $readonly_drafts = $readonly_sentmail = false; $draft = IMP::folderPref($prefs->getValue('drafts_folder'), true); +$imp_imap = $injector->getInstance('IMP_Imap')->getOb(); if (!empty($draft)) { $readonly_drafts = $imp_imap->isReadOnly($draft); } -- 2.11.0