From a83a0e79b64fb474562ac8e94a775414e2bcf235 Mon Sep 17 00:00:00 2001 From: DiegoAndresCortes Date: Tue, 16 Jan 2024 10:21:56 -0600 Subject: [PATCH] pass db type through sprintf MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Diego Andrés --- other/install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/other/install.php b/other/install.php index b894b80dea..927e11b253 100644 --- a/other/install.php +++ b/other/install.php @@ -902,7 +902,7 @@ function DatabaseSettings() // Do they meet the install requirements? // @todo Old client, new server? if (version_compare($databases[Config::$db_type]['version'], preg_replace('~^\D*|\-.+?$~', '', $databases[Config::$db_type]['version_check']())) > 0) { - $incontext['error'] = Lang::$txt['error_db_too_low']; + $incontext['error'] = sprintf(Lang::$txt['error_db_too_low'], $databases[Config::$db_type]['name']); return false; }