mirror of
https://github.com/idanoo/php-resque.git
synced 2024-11-22 08:15:14 +00:00
Merge pull request #126 from Olden/bug/logger
Fix notice for: 'Undefined variable: logger'
This commit is contained in:
commit
b0843f4dba
@ -61,7 +61,7 @@ if($APP_INCLUDE) {
|
|||||||
|
|
||||||
// See if the APP_INCLUDE containes a logger object,
|
// See if the APP_INCLUDE containes a logger object,
|
||||||
// If none exists, fallback to internal logger
|
// If none exists, fallback to internal logger
|
||||||
if (!isset($logger) && !is_object($logger)) {
|
if (!isset($logger) || !is_object($logger)) {
|
||||||
$logger = new Resque_Log($logLevel);
|
$logger = new Resque_Log($logLevel);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user