mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
Merge branch '3.3.x'
This commit is contained in:
commit
2632997017
1 changed files with 1 additions and 1 deletions
|
@ -494,7 +494,7 @@ class acp_main
|
||||||
|
|
||||||
$start_date = $user->format_date($config['board_startdate']);
|
$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);
|
$posts_per_day = sprintf('%.2f', $total_posts / $boarddays);
|
||||||
$topics_per_day = sprintf('%.2f', $total_topics / $boarddays);
|
$topics_per_day = sprintf('%.2f', $total_topics / $boarddays);
|
||||||
|
|
Loading…
Add table
Reference in a new issue