Skip to content

Commit

Permalink
Quiet PHP warnings on 7.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
kohler committed Jan 15, 2024
1 parent 064ca0b commit 0d7183b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/conference.php
Original file line number Diff line number Diff line change
Expand Up @@ -5025,7 +5025,9 @@ function log_for($user, $dest_user, $text, $pids = null, $dedup = false) {
$this->_save_logs = $this->_save_logs ?? [];
$pl = &$this->_save_logs[$key];
$pl = $pl ?? [];
array_push($pl, ...$pids);
if (!empty($pids)) {
array_push($pl, ...$pids);
}
return;
}

Expand Down

0 comments on commit 0d7183b

Please sign in to comment.