mirror of
https://github.com/idanoo/php-resque
synced 2025-07-01 13:42:22 +00:00
Fix notice for: 'Undefined variable: logger'
This commit is contained in:
parent
468f1ce78a
commit
03d31830d1
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue