plugins/libkolab
Aleksander Machniak
machniak at kolabsys.com
Thu Oct 11 14:46:34 CEST 2012
plugins/libkolab/lib/kolab_storage.php | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit c723bb3e67a2522d1cfb056f820d0079ee0c0b3f
Author: Aleksander Machniak <machniak at kolabsys.com>
Date: Thu Oct 11 14:43:01 2012 +0200
Fix Fatal error: Call to a member function get_metadata() on a non-object
diff --git a/plugins/libkolab/lib/kolab_storage.php b/plugins/libkolab/lib/kolab_storage.php
index e14156d..1292b8b 100644
--- a/plugins/libkolab/lib/kolab_storage.php
+++ b/plugins/libkolab/lib/kolab_storage.php
@@ -608,6 +608,8 @@ class kolab_storage
*/
static function folder_type($folder)
{
+ self::setup();
+
$metadata = self::$imap->get_metadata($folder, array(self::CTYPE_KEY, self::CTYPE_KEY_PRIVATE));
if (!is_array($metadata)) {
More information about the commits
mailing list