mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 01:19:44 +01:00
Fixes #4580 - Some BBCodes were not functioning.
This commit is contained in:
parent
34ad8bc1d8
commit
7171ca8e3d
@ -546,11 +546,10 @@ class bbcode_shortcodes extends e_shortcode
|
||||
global $pref, $eplug_bb, $bbcode_func, $bbcode_help, $bbcode_helpactive, $bbcode_helptag, $register_bb;
|
||||
|
||||
|
||||
$eplug_bb = isset($this->var['eplug_bb']) ? $this->var['eplug_bb'] : array();
|
||||
$eplug_bb = !empty($this->var['eplug_bb']) ? $this->var['eplug_bb'] : array();
|
||||
|
||||
$bbcode_func = !empty($this->var['trigger']) ? $this->var['trigger'] : "addtext";
|
||||
|
||||
$bbcode_func = isset($this->var['trigger']) ? $this->var['trigger'] : "addtext";
|
||||
|
||||
|
||||
$bbcode_help = ($bbcode_help) ? $bbcode_help : "help";
|
||||
$bbcode_tag = ($bbcode_helptag != 'helpb') ? ",'$bbcode_helptag'" : "";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user