From 720477a9da9e3613c2cb432315970a0dddd7fb0e Mon Sep 17 00:00:00 2001 From: rxu Date: Sun, 11 Nov 2018 15:21:36 +0700 Subject: [PATCH] [ticket/15871] Fix PHP 7.1+ warning in ACR extensions module PHPBB3-15871 --- phpBB/includes/acp/acp_extensions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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