From 26bfc91901ecf0c4fdfe53ef0510fdf955a172a2 Mon Sep 17 00:00:00 2001 From: Chuck Hagenbuch Date: Sun, 16 May 2010 22:18:19 -0400 Subject: [PATCH] Fix typo (need a string here, not an array) --- framework/Core/lib/Horde.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.11.0