diff --git a/presentation/lookAndFeel/knowledgeTree/administration/adminUI.inc b/presentation/lookAndFeel/knowledgeTree/administration/adminUI.inc index d611838..42716a7 100644 --- a/presentation/lookAndFeel/knowledgeTree/administration/adminUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/administration/adminUI.inc @@ -10,6 +10,7 @@ function renderHeading($sHeading, $sSectionName = "") { $sSectionName = $default->siteMap->getSectionName(substr($_SERVER["PHP_SELF"], strlen($default->rootUrl), strlen($_SERVER["PHP_SELF"]))); } $sColor = $default->siteMap->getSectionColour($sSectionName, "th"); + $sColor = $sColor == "" ? $sSectionName : $sColor; $sToRender .= "