projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23c8ed7
)
Fix missing injector call
author
Michael M Slusarz
<slusarz@curecanti.org>
Tue, 4 May 2010 05:11:53 +0000
(23:11 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Tue, 4 May 2010 05:11:53 +0000
(23:11 -0600)
imp/compose.php
patch
|
blob
|
history
diff --git
a/imp/compose.php
b/imp/compose.php
index
effcaef
..
2db0da1
100644
(file)
--- 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);
}