From 3fea4b7d67e2d5385ef7863d14849f75631655fe Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Sun, 2 May 2010 20:13:15 -0600 Subject: [PATCH] Fix missing injector call --- imp/message-dimp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imp/message-dimp.php b/imp/message-dimp.php index 66add4654..7bf5e5485 100644 --- a/imp/message-dimp.php +++ b/imp/message-dimp.php @@ -20,7 +20,7 @@ if (!$uid || !$folder) { } $imp_ui = new IMP_Ui_Message(); -$readonly = $imp_imap->isReadOnly($folder); +$readonly = $injector->getInstance('IMP_Imap')->getOb()->isReadOnly($folder); $args = array( 'headers' => array_diff(array_keys($imp_ui->basicHeaders()), array('subject')), -- 2.11.0