diff options
Diffstat (limited to 'core/Command')
-rw-r--r-- | core/Command/Log/Manage.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/Command/Log/Manage.php b/core/Command/Log/Manage.php index 948f516d28b..2f92c639bac 100644 --- a/core/Command/Log/Manage.php +++ b/core/Command/Log/Manage.php @@ -78,7 +78,8 @@ class Manage extends Command { $toBeSet['log_type'] = $backend; } - if ($level = $input->getOption('level')) { + $level = $input->getOption('level'); + if ($level !== null) { if (is_numeric($level)) { $levelNum = $level; // sanity check |