Commit 33fa8219 authored by Caleb Thorne's avatar Caleb Thorne
Browse files

Issue #3175697 by jmsosso: The handler changes the active Drupal configuration

parent f27fe1a1
Loading
Loading
Loading
Loading
+1 −1
Changes for src/Plugin/WebformHandler/BulkEmailWebformHandler.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -378,7 +378,7 @@ class BulkEmailWebformHandler extends EmailWebformHandler {
  public function getScheduledHour() {
    $now = $this->time->getRequestTime();
    $offset = (strtotime('UTC', $now) - $now) / 3600;
    return ($this->configuration['scheduled_time'] - $offset + 24) % 24;
    return (($this->configuration['scheduled_time'] ?? 0) - $offset + 24) % 24;
  }

  /**