From 78f0ec8ea75504f53192612ba4f904bc00fd32d2 Mon Sep 17 00:00:00 2001 From: 3D-I Date: Tue, 13 Aug 2019 20:54:49 +0200 Subject: [PATCH] [ticket/16080] Remove sprintf() PHPBB3-16080 --- phpBB/includes/acp/acp_styles.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/includes/acp/acp_styles.php b/phpBB/includes/acp/acp_styles.php index 123c8f0ad4..5029510839 100644 --- a/phpBB/includes/acp/acp_styles.php +++ b/phpBB/includes/acp/acp_styles.php @@ -1126,7 +1126,7 @@ class acp_styles // This should never happen, we give them a red warning because of its relevance. if (!file_exists($this->styles_path . $dir . '/style.cfg')) { - trigger_error(sprintf($this->user->lang['NO_STYLE_CFG'], $dir), E_USER_WARNING); + trigger_error($this->user->lang('NO_STYLE_CFG', $dir), E_USER_WARNING); } static $required = array('name', 'phpbb_version', 'copyright');