mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
[ticket/16080] Remove sprintf()
PHPBB3-16080
This commit is contained in:
parent
37de0f96d1
commit
78f0ec8ea7
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||||
|
|
Loading…
Add table
Reference in a new issue