mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-01 03:54:56 +02:00
[ticket/10148] Turn TEMPLATE_BITFIELD into an instance variable.
PHPBB3-10148
This commit is contained in:
parent
513b95642e
commit
dfbbc4797e
@ -45,7 +45,7 @@ class acp_styles
|
||||
$bitfield->set(9);
|
||||
$bitfield->set(11);
|
||||
$bitfield->set(12);
|
||||
define('TEMPLATE_BITFIELD', $bitfield->get_base64());
|
||||
$this->template_bitfield = $bitfield->get_base64();
|
||||
unset($bitfield);
|
||||
|
||||
$user->add_lang('acp/styles');
|
||||
@ -3496,7 +3496,7 @@ parse_css_file = {PARSE_CSS_FILE}
|
||||
}
|
||||
else
|
||||
{
|
||||
$sql_ary['bbcode_bitfield'] = TEMPLATE_BITFIELD;
|
||||
$sql_ary['bbcode_bitfield'] = $this->template_bitfield;
|
||||
}
|
||||
|
||||
// We set a pre-defined bitfield here which we may use further in 3.2
|
||||
|
Loading…
x
Reference in New Issue
Block a user