Fix undefined variable.
authorJan Schneider <jan@horde.org>
Thu, 28 May 2009 13:30:33 +0000 (15:30 +0200)
committerJan Schneider <jan@horde.org>
Thu, 28 May 2009 13:32:46 +0000 (15:32 +0200)
imp/lib/Imap/Flags.php

index 21b710c..0785beb 100644 (file)
@@ -85,6 +85,7 @@ class IMP_Imap_Flags
         $ret = $this->_flags;
         $avail_flags = array_keys($ret);
 
+        $types = array();
         if (!empty($options['imap'])) {
             $types = array('imapp', 'imapu');
             if (!$GLOBALS['prefs']->getValue('msgflags_hidesys')) {