diff options
author | 3D-I <eataly3d@gmail.com> | 2019-08-12 21:14:58 +0200 |
---|---|---|
committer | 3D-I <eataly3d@gmail.com> | 2019-08-12 21:15:54 +0200 |
commit | 37de0f96d1c2f52fe8702aa3638cc0f02f577a78 (patch) | |
tree | 4f0955b93bcf908c484220f22f39d306b19ed273 /phpBB/includes/acp/acp_styles.php | |
parent | 964c212f031ef7fcbd2e95d28218007830b5d184 (diff) | |
download | forums-37de0f96d1c2f52fe8702aa3638cc0f02f577a78.tar forums-37de0f96d1c2f52fe8702aa3638cc0f02f577a78.tar.gz forums-37de0f96d1c2f52fe8702aa3638cc0f02f577a78.tar.bz2 forums-37de0f96d1c2f52fe8702aa3638cc0f02f577a78.tar.xz forums-37de0f96d1c2f52fe8702aa3638cc0f02f577a78.zip |
[ticket/16080] Use placeholder
PHPBB3-16080
Diffstat (limited to 'phpBB/includes/acp/acp_styles.php')
-rw-r--r-- | phpBB/includes/acp/acp_styles.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_styles.php b/phpBB/includes/acp/acp_styles.php index 04cb1f15ef..123c8f0ad4 100644 --- a/phpBB/includes/acp/acp_styles.php +++ b/phpBB/includes/acp/acp_styles.php @@ -1123,9 +1123,10 @@ class acp_styles */ protected function read_style_cfg($dir) { + // 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($this->user->lang['NO_STYLE_CFG'] . $dir, E_USER_WARNING); + trigger_error(sprintf($this->user->lang['NO_STYLE_CFG'], $dir), E_USER_WARNING); } static $required = array('name', 'phpbb_version', 'copyright'); |