diff options
author | rxu <rxu@mail.ru> | 2018-11-11 15:21:36 +0700 |
---|---|---|
committer | rxu <rxu@mail.ru> | 2018-11-11 15:24:08 +0700 |
commit | 720477a9da9e3613c2cb432315970a0dddd7fb0e (patch) | |
tree | a43d15fdd746dfb47a58901682f4c304a061955d /phpBB | |
parent | f4063e475dff62f68bdd4c813bf3450492abb3c1 (diff) | |
download | forums-720477a9da9e3613c2cb432315970a0dddd7fb0e.tar forums-720477a9da9e3613c2cb432315970a0dddd7fb0e.tar.gz forums-720477a9da9e3613c2cb432315970a0dddd7fb0e.tar.bz2 forums-720477a9da9e3613c2cb432315970a0dddd7fb0e.tar.xz forums-720477a9da9e3613c2cb432315970a0dddd7fb0e.zip |
[ticket/15871] Fix PHP 7.1+ warning in ACR extensions module
PHPBB3-15871
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/includes/acp/acp_extensions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_extensions.php b/phpBB/includes/acp/acp_extensions.php index 6f65dc9fa0..c8c16445f7 100644 --- a/phpBB/includes/acp/acp_extensions.php +++ b/phpBB/includes/acp/acp_extensions.php @@ -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 |