mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/16080] Remove sprintf()
PHPBB3-16080
This commit is contained in:
@@ -1126,7 +1126,7 @@ class acp_styles
|
|||||||
// This should never happen, we give them a red warning because of its relevance.
|
// This should never happen, we give them a red warning because of its relevance.
|
||||||
if (!file_exists($this->styles_path . $dir . '/style.cfg'))
|
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');
|
static $required = array('name', 'phpbb_version', 'copyright');
|
||||||
|
Reference in New Issue
Block a user