mirror of
https://github.com/e107inc/e107.git
synced 2025-07-30 19:30:25 +02:00
Fixes #4580 - Some BBCodes were not functioning.
This commit is contained in:
@@ -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'" : "";
|
||||
|
||||
|
Reference in New Issue
Block a user