aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author3D-I <eataly3d@gmail.com>2019-08-13 20:54:49 +0200
committer3D-I <eataly3d@gmail.com>2019-08-13 20:55:10 +0200
commit78f0ec8ea75504f53192612ba4f904bc00fd32d2 (patch)
tree1fdb02829787d660975519a37277651a28dacfce
parent37de0f96d1c2f52fe8702aa3638cc0f02f577a78 (diff)
downloadforums-78f0ec8ea75504f53192612ba4f904bc00fd32d2.tar
forums-78f0ec8ea75504f53192612ba4f904bc00fd32d2.tar.gz
forums-78f0ec8ea75504f53192612ba4f904bc00fd32d2.tar.bz2
forums-78f0ec8ea75504f53192612ba4f904bc00fd32d2.tar.xz
forums-78f0ec8ea75504f53192612ba4f904bc00fd32d2.zip
[ticket/16080] Remove sprintf()
PHPBB3-16080
-rw-r--r--phpBB/includes/acp/acp_styles.php2
1 files changed, 1 insertions, 1 deletions
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');