From 98af682266c7df036eb83afa7796ef3b1089149f Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Thu, 27 Jan 2011 23:44:29 -0700 Subject: [PATCH] Fix $opts argument to IMP_Folder::create() --- imp/lib/Folder.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imp/lib/Folder.php b/imp/lib/Folder.php index 1b89b743b..b042a6aa5 100644 --- a/imp/lib/Folder.php +++ b/imp/lib/Folder.php @@ -105,7 +105,7 @@ class IMP_Folder * @return boolean Whether or not the folder was successfully created. * @throws Horde_Exception */ - public function create($folder, $subscribe) + public function create($folder, $subscribe, array $opts = array()) { global $conf, $injector, $notification; @@ -136,7 +136,7 @@ class IMP_Folder /* Special use flags. */ $special_use = array(); foreach (self::$specialUse as $key => $val) { - if (!empty($this->_opts[$key])) { + if (!empty($opts[$key])) { $special_use[] = $val; } } -- 2.11.0