diff --git a/bin/resque b/bin/resque index b9a10cf..b8089ac 100755 --- a/bin/resque +++ b/bin/resque @@ -61,7 +61,7 @@ if($APP_INCLUDE) { // See if the APP_INCLUDE containes a logger object, // If none exists, fallback to internal logger -if (!isset($logger) && !is_object($logger)) { +if (!isset($logger) || !is_object($logger)) { $logger = new Resque_Log($logLevel); }