mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-30 11:11:23 +02:00
[ticket/16418] Fix non-numeric value - ACP board start date
PHPBB3-16418
This commit is contained in:
parent
3539f9372d
commit
39c6d11ed6
@ -493,7 +493,7 @@ class acp_main
|
||||
|
||||
$start_date = $user->format_date($config['board_startdate']);
|
||||
|
||||
$boarddays = (time() - $config['board_startdate']) / 86400;
|
||||
$boarddays = (time() - (int) $config['board_startdate']) / 86400;
|
||||
|
||||
$posts_per_day = sprintf('%.2f', $total_posts / $boarddays);
|
||||
$topics_per_day = sprintf('%.2f', $total_topics / $boarddays);
|
||||
|
Loading…
x
Reference in New Issue
Block a user