Reversed logic
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 12 May 2010 20:47:24 +0000 (14:47 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 12 May 2010 21:40:19 +0000 (15:40 -0600)
framework/Core/lib/Horde/Core/Log/Logger.php

index 717b211..2170d07 100644 (file)
@@ -102,7 +102,7 @@ class Horde_Core_Log_Logger extends Horde_Log_Logger
             ? $GLOBALS['registry']->getApp()
             : 'horde';
 
-        $message = (empty($GLOBALS['conf']['log']['ident']) ? $GLOBALS['conf']['log']['ident'] . ' ' : '') .
+        $message = (empty($GLOBALS['conf']['log']['ident']) ? '' : $GLOBALS['conf']['log']['ident'] . ' ') .
             ($app ? '[' . $app . '] ' : '') .
             $text .
             ' [pid ' . getmypid() . ' on line ' . $line . ' of "' . $file . '"]';