1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-14 04:42:04 +02:00

[ticket/16080] Remove sprintf()

PHPBB3-16080
This commit is contained in:
3D-I 2019-08-13 20:54:49 +02:00
parent 37de0f96d1
commit 78f0ec8ea7

View File

@ -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');