In joomsef.php 918 row:
...
if (isset($string)) {
$sql = "SELECT `$column` AS `name`$jfTranslate FROM `#__menu` WHERE `link` = '$string' AND `published` > 0";
}
elseif (isset($id) && $id != 0) {
$sql = "SELECT `$column` AS `name`$jfTranslate FROM `#__menu` WHERE `id` = '$id' AND `published` > 0";
}
else {
// Search for direct link to component only
$sql = "SELECT `$column` AS `name`$jfTranslate FROM `#__menu` WHERE `link` = 'index.php?option=$option' AND `published` > 0";
}
$db->setQuery($sql);
$row = $db->loadObject();
if (!empty($row)) {
if (!empty($row->[color=#800000][b]$columns[/b][/color])) $title = $row->name;
}
else {
...
Corrected:
...
if (isset($string)) {
$sql = "SELECT `$column` AS `[color=#008000][b]name[/b][/color]`$jfTranslate FROM `#__menu` WHERE `link` = '$string' AND `published` > 0";
}
elseif (isset($id) && $id != 0) {
$sql = "SELECT `$column` AS `[color=#008000][b]name[/b][/color]`$jfTranslate FROM `#__menu` WHERE `id` = '$id' AND `published` > 0";
}
else {
// Search for direct link to component only
$sql = "SELECT `$column` AS `[color=#008000][b]name[/b][/color]`$jfTranslate FROM `#__menu` WHERE `link` = 'index.php?option=$option' AND `published` > 0";
}
$db->setQuery($sql);
$row = $db->loadObject();
if (!empty($row)) {
if (!empty($row->[color=#008000][b]name[/b][/color])) $title = $row->name;
}
else {
...