[ticket/690] Update test for phpBB 3.2.0 and PHP 7.1 compatibility
B3P-690
This commit is contained in:
@@ -281,6 +281,9 @@ class calendar extends module_base
|
||||
|
||||
foreach ($events as $key => $cur_event)
|
||||
{
|
||||
$cur_event['start_time'] = (int) $cur_event['start_time'];
|
||||
$cur_event['end_time'] = (int) $cur_event['end_time'];
|
||||
|
||||
if (($cur_event['start_time'] + $this->time->getOffset()) >= $today_timestamp ||
|
||||
($cur_event['end_time'] + $this->time->getOffset()) >= $today_timestamp ||
|
||||
(($cur_event['start_time'] + $this->time->getOffset() + self::TIME_DAY) >= $today_timestamp && $cur_event['all_day']))
|
||||
|
||||
@@ -219,7 +219,7 @@ class welcome extends module_base
|
||||
default:
|
||||
if (!isset($welcome_message))
|
||||
{
|
||||
$welcome_message = generate_text_for_edit($portal_config['board3_welcome_message_' . $module_id], $this->config['board3_welcome_message_uid_' . $module_id], '');
|
||||
$welcome_message = generate_text_for_edit($portal_config['board3_welcome_message_' . $module_id], $this->config['board3_welcome_message_uid_' . $module_id], 0);
|
||||
}
|
||||
|
||||
$this->template->assign_vars(array(
|
||||
|
||||
Reference in New Issue
Block a user