1
0
mirror of https://github.com/e107inc/e107.git synced 2025-05-01 09:48:19 +02:00

Editing bugs fixed

Editing bugs fixed
This commit is contained in:
rica-carv 2016-06-16 14:35:27 +01:00 committed by GitHub
parent d3d65b8a27
commit b513ee33eb

View File

@ -425,11 +425,13 @@ class plugin_forum_post_shortcodes extends e_shortcode
$forumInfo = $this->var;
// return print_a($forumInfo,true);
$_tmp = new e_vars();
//---- $_tmp = new e_vars();
$_tmp = array();
// no reference of 'head' $threadInfo['head']['thread_name']
$eaction = ($this->var['action'] == 'edit');
$this->forum->set_crumb(true, ($this->var['action'] == 'nt' ? ($eaction ? LAN_FORUM_3023 : LAN_FORUM_1018) : ($eaction ? LAN_FORUM_3024 : $this->var['thread_name'])), $_tmp);
return $_tmp->BREADCRUMB;
//---- return $_tmp->BREADCRUMB;
return $_tmp['breadcrumb'];
}
function sc_noemotes()