Fix typo (need a string here, not an array)
authorChuck Hagenbuch <chuck@horde.org>
Mon, 17 May 2010 02:18:19 +0000 (22:18 -0400)
committerChuck Hagenbuch <chuck@horde.org>
Mon, 17 May 2010 02:18:19 +0000 (22:18 -0400)
framework/Core/lib/Horde.php

index fa2f36a..dc1f655 100644 (file)
@@ -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 {