From d181713832d96b272c81c93d3f3a88bf848bdaac Mon Sep 17 00:00:00 2001
From: 3D-I <480857+3D-I@users.noreply.github.com>
Date: Sun, 22 Dec 2019 01:12:46 +0100
Subject: [PATCH] [ticket/16261] Missing check whether the index exists in
 install - PHP 7.4

PHPBB3-16261
---
 phpBB/phpbb/install/module_base.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/phpBB/phpbb/install/module_base.php b/phpBB/phpbb/install/module_base.php
index 93c10bd656..4464a89716 100644
--- a/phpBB/phpbb/install/module_base.php
+++ b/phpBB/phpbb/install/module_base.php
@@ -131,7 +131,7 @@ abstract class module_base implements module_interface
 					$name,
 				));
 
-				$this->install_config->increment_current_task_progress($this->task_step_count[$name]);
+				$this->install_config->increment_current_task_progress($this->task_step_count[$name] ?? false);
 			}
 			else
 			{