mirror of
https://github.com/idanoo/php-resque.git
synced 2024-11-21 16:01:53 +00:00
Fix notice for: 'Undefined variable: logger'
This commit is contained in:
parent
468f1ce78a
commit
03d31830d1
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user