Fix logic.
authorJan Schneider <jan@horde.org>
Thu, 24 Jun 2010 13:34:15 +0000 (15:34 +0200)
committerJan Schneider <jan@horde.org>
Thu, 24 Jun 2010 14:40:13 +0000 (16:40 +0200)
framework/Core/lib/Horde.php

index ac97489..77a6ea5 100644 (file)
@@ -796,7 +796,7 @@ HTML;
     {
         global $conf;
 
-        if (is_null($type)) {
+        if (!is_null($type)) {
             $type = Horde_String::lower($type);
         }