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

[ticket/15871] Fix PHP 7.1+ warning in ACR extensions module

PHPBB3-15871
This commit is contained in:
rxu
2018-11-11 15:21:36 +07:00
parent f4063e475d
commit 720477a9da

View File

@@ -57,7 +57,7 @@ class acp_extensions
$ext_name = $this->request->variable('ext_name', '');
// What is a safe limit of execution time? Half the max execution time should be safe.
$safe_time_limit = (ini_get('max_execution_time') / 2);
$safe_time_limit = ((int) ini_get('max_execution_time') / 2);
$start_time = time();
// Cancel action