From: Michael M Slusarz Date: Fri, 28 Jan 2011 06:44:29 +0000 (-0700) Subject: Fix $opts argument to IMP_Folder::create() X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=98af682266c7df036eb83afa7796ef3b1089149f;p=horde.git Fix $opts argument to IMP_Folder::create() --- 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; } }