diff --git a/src/Drupal/Commands/core/WatchdogCommands.php b/src/Drupal/Commands/core/WatchdogCommands.php index c8c9c307f5..6b43bfb6d9 100644 --- a/src/Drupal/Commands/core/WatchdogCommands.php +++ b/src/Drupal/Commands/core/WatchdogCommands.php @@ -133,7 +133,7 @@ public function tail(OutputInterface $output, $substring = '', $options = ['seve 'args' => [], ]; } else { - $where['where'] .= " AND wid > ?"; + $where['where'] .= " AND wid > :wid"; } $last_seen_wid = 0;