mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 12:48:24 +01:00
BC fix for comments menu.
This commit is contained in:
parent
6f42d26dd5
commit
8642c0a0f6
@ -20,7 +20,7 @@ if (!defined('e107_INIT'))
|
||||
}
|
||||
|
||||
/**
|
||||
* @todo upgrade prefs usage and use e_menu.php instead of config.php
|
||||
* @todo upgrade prefs usage and use e_menu.php instead of config.php
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -92,14 +92,15 @@ $text .= $tp->parseTemplate($TEMPLATE['end'], true, $comment_menu_shortcodes);
|
||||
|
||||
$title = e107::getConfig('menu')->get('comment_caption');
|
||||
|
||||
if(!empty($title[e_LANGUAGE]))
|
||||
{
|
||||
$title = $title[e_LANGUAGE];
|
||||
}
|
||||
elseif(!empty($title[e_LANGUAGE][e_LANGUAGE])) // fix for saving bug.
|
||||
if(!empty($title[e_LANGUAGE][e_LANGUAGE])) // fix for saving bug.
|
||||
{
|
||||
$title = $title[e_LANGUAGE][e_LANGUAGE];
|
||||
}
|
||||
elseif(!empty($title[e_LANGUAGE]))
|
||||
{
|
||||
$title = $title[e_LANGUAGE];
|
||||
}
|
||||
|
||||
|
||||
if(empty($title))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user