Skip to content

Commit

Permalink
Addapt operand to comply with PHP 7.4 [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
anvmn committed May 30, 2024
1 parent 6dd13b5 commit 07ab768
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

// Get optional district option.
$textual_date = drush_get_option('date', NULL);
$day_of_reporting = strtotime($textual_date) ?? time();
$day_of_reporting = !empty($textual_date) ? strtotime($textual_date) : time();

$impacted = array_flip(db_query("SELECT entity_id FROM {person_impacted}")->fetchCol());
if (empty($impacted)) {
Expand Down

0 comments on commit 07ab768

Please sign in to comment.