1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-18 14:31:19 +02:00

[ticket/9687] Use new array entries for bans

PHPBB3-9687
This commit is contained in:
Marc Alexander
2023-07-04 14:48:21 +02:00
parent 3563f20991
commit 9048aed163
4 changed files with 19 additions and 16 deletions

View File

@@ -1204,7 +1204,7 @@ class session
}
// Determine which message to output
$till_date = ($ban_row['end'] > 0) ? $this->format_date($ban_row['end']) : '';
$till_date = ($ban_row && $ban_row['end'] > 0) ? $this->format_date($ban_row['end']) : '';
$message = $this->get_ban_message($ban_row, $ban_triggered_by);
$contact_link = phpbb_get_board_contact_link($config, $phpbb_root_path, $phpEx);