From: Chuck Hagenbuch Date: Mon, 17 May 2010 02:18:19 +0000 (-0400) Subject: Fix typo (need a string here, not an array) X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=26bfc91901ecf0c4fdfe53ef0510fdf955a172a2;p=horde.git Fix typo (need a string here, not an array) --- diff --git a/framework/Core/lib/Horde.php b/framework/Core/lib/Horde.php index fa2f36aab..dc1f655bb 100644 --- a/framework/Core/lib/Horde.php +++ b/framework/Core/lib/Horde.php @@ -690,7 +690,7 @@ HTML; /* Horde 3 -> 4 conversion checking. This is the only place * to catch PEAR_LOG errors. */ if (isset($conf['log']['priority']) && - (strpos($conf['log'], 'PEAR_LOG_') !== false)) { + (strpos($conf['log']['priority'], 'PEAR_LOG_') !== false)) { $conf['log']['priority'] = 'INFO'; self::logMessage('Logging priority is using the old PEAR_LOG constant', 'INFO'); } else {