Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / drush / drush / src / Drupal / Commands / core / WatchdogCommands.php
index 5a307f73c2f1ef6b33f38bbf311f005d9b6b2d28..673cc80c8d26e9bfb1c2d2fb1f6d1c18f40bb40d 100644 (file)
@@ -168,7 +168,7 @@ class WatchdogCommands extends DrushCommands
                 throw new \Exception(dt('Watchdog message #!wid does not exist.', ['!wid' => $substring]));
             }
         } else {
-            if ((!isset($substring))&&(!isset($options['type']))&&(!isset($options['severity']))) {
+            if ((empty($substring))&&(!isset($options['type']))&&(!isset($options['severity']))) {
                 throw new \Exception(dt('No options provided.'));
             }
             $where = $this->where($options['type'], $options['severity'], $substring, 'OR');