mirror of
https://github.com/idanoo/php-resque
synced 2025-07-01 13:42:22 +00:00
Merge pull request #126 from Olden/bug/logger
Fix notice for: 'Undefined variable: logger'
This commit is contained in:
commit
b0843f4dba
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,
|
||||
// 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…
Add table
Add a link
Reference in a new issue