Fix method name.
authorJan Schneider <jan@horde.org>
Wed, 19 Aug 2009 10:19:07 +0000 (12:19 +0200)
committerJan Schneider <jan@horde.org>
Wed, 19 Aug 2009 10:19:22 +0000 (12:19 +0200)
imp/lib/Dimp.php
imp/templates/javascript_defs_dimp.php

index 0b20303..997577a 100644 (file)
@@ -89,7 +89,7 @@ class IMP_Dimp
     /**
      * Return an appended IMP folder string
      */
-    static private function _appendedFolderPref($folder)
+    static public function appendedFolderPref($folder)
     {
         return IMP::folderPref($folder, true);
     }
index 563d28f..29dbf31 100644 (file)
@@ -61,7 +61,7 @@ $code['conf'] = array_filter(array(
     'filter_any' => intval($GLOBALS['prefs']->getValue('filter_any_mailbox')),
     'fixed_folders' => empty($GLOBALS['conf']['server']['fixed_folders'])
         ? array()
-        : array_map(array('DIMP', '_appendedFolderPref'), $GLOBALS['conf']['server']['fixed_folders']),
+        : array_map(array('IMP_Dimp', 'appendedFolderPref'), $GLOBALS['conf']['server']['fixed_folders']),
     'flags' => $flags,
     'ham_spammbox' => intval(!empty($GLOBALS['conf']['notspam']['spamfolder'])),
     'limit_factor' => intval($GLOBALS['conf']['dimp']['viewport']['limit_factor']),