We expect an array back, so pass it an array.
authorJan Schneider <jan@horde.org>
Tue, 24 Aug 2010 21:08:44 +0000 (23:08 +0200)
committerJan Schneider <jan@horde.org>
Tue, 24 Aug 2010 21:27:28 +0000 (23:27 +0200)
framework/Core/lib/Horde/Core/Factory/MimeViewer.php

index 61e7b21..fcc189e 100644 (file)
@@ -240,7 +240,7 @@ class Horde_Core_Factory_MimeViewer
         }
 
         try {
-            $aconfig = Horde::loadConfiguration('mime_drivers.php', 'mime_drivers', $app);
+            $aconfig = Horde::loadConfiguration('mime_drivers.php', array('mime_drivers'), $app);
         } catch (Horde_Exception $e) {
             $aconfig = array();
         }