mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/15871] Fix PHP 7.1+ warning in ACR extensions module
PHPBB3-15871
This commit is contained in:
parent
f4063e475d
commit
720477a9da
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue