diff options
| author | Oleg Pudeyev <oleg@bsdpower.com> | 2011-04-24 01:35:09 -0400 | 
|---|---|---|
| committer | Oleg Pudeyev <oleg@bsdpower.com> | 2011-04-24 01:35:09 -0400 | 
| commit | dfbbc4797ea9908db727e5fc51d06bd55cd0c472 (patch) | |
| tree | d4e8133ba70c7622706fa91649d28a13ca966e76 | |
| parent | 513b95642eab7f8092d651a21045dc4bb1556148 (diff) | |
| download | forums-dfbbc4797ea9908db727e5fc51d06bd55cd0c472.tar forums-dfbbc4797ea9908db727e5fc51d06bd55cd0c472.tar.gz forums-dfbbc4797ea9908db727e5fc51d06bd55cd0c472.tar.bz2 forums-dfbbc4797ea9908db727e5fc51d06bd55cd0c472.tar.xz forums-dfbbc4797ea9908db727e5fc51d06bd55cd0c472.zip  | |
[ticket/10148] Turn TEMPLATE_BITFIELD into an instance variable.
PHPBB3-10148
| -rw-r--r-- | phpBB/includes/acp/acp_styles.php | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_styles.php b/phpBB/includes/acp/acp_styles.php index 6a0d4c4c98..e32a4d2310 100644 --- a/phpBB/includes/acp/acp_styles.php +++ b/phpBB/includes/acp/acp_styles.php @@ -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  | 
