projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26aec5e
)
Fix undefined object error.
author
Michael M Slusarz
<slusarz@curecanti.org>
Tue, 7 Sep 2010 03:43:28 +0000
(21:43 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Tue, 7 Sep 2010 03:43:28 +0000
(21:43 -0600)
imp/folders.php
patch
|
blob
|
history
diff --git
a/imp/folders.php
b/imp/folders.php
index
95e8aec
..
9a50ca5
100644
(file)
--- a/
imp/folders.php
+++ b/
imp/folders.php
@@
-172,6
+172,7
@@
case 'rename_folder':
if (!empty($new_names) &&
!empty($old_names) &&
($iMax == count($old_names))) {
+ $imp_imap = $injector->getInstance('IMP_Imap')->getOb();
for ($i = 0; $i < $iMax; ++$i) {
$old_ns = $imp_imap->getNamespace($old_names[$i]);
$new = trim($new_names[$i], $old_ns['delimiter']);