1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/16706] Fix undefined array keys on user IP ban

PHPBB3-16706
This commit is contained in:
3D-I
2021-02-16 01:41:20 +01:00
parent 0daf4b6b1c
commit c499025623
3 changed files with 6 additions and 6 deletions

View File

@@ -4049,7 +4049,7 @@ function page_header($page_title = '', $display_online_list = false, $item_id =
'S_ENABLE_FEEDS_TOPICS_ACTIVE' => ($config['feed_topics_active']) ? true : false,
'S_ENABLE_FEEDS_NEWS' => ($s_feed_news) ? true : false,
'S_LOAD_UNREADS' => ($config['load_unreads_search'] && ($config['load_anon_lastread'] || $user->data['is_registered'])) ? true : false,
'S_LOAD_UNREADS' => (bool) $config['load_unreads_search'] && ($config['load_anon_lastread'] || !empty($user->data['is_registered'])),
'S_SEARCH_HIDDEN_FIELDS' => build_hidden_fields($s_search_hidden_fields),