mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02:00
Controller::CreatePage : default values for sUrl and sIcon
This commit is contained in:
@@ -572,6 +572,12 @@ abstract class Controller
|
||||
$aBreadCrumbEntry = $this->GetOperationBreadCrumbEntry();
|
||||
if ((false === empty($aBreadCrumbEntry)) && (is_array($aBreadCrumbEntry)) && (count($aBreadCrumbEntry) >= 3)) {
|
||||
@list($sId, $sTitle, $sDescription, $sUrl, $sIcon) = $aBreadCrumbEntry;
|
||||
if (false === isset($sUrl)) {
|
||||
$sUrl = '';
|
||||
}
|
||||
if (false === isset($sIcon)) {
|
||||
$sIcon = '';
|
||||
}
|
||||
$this->m_oPage->SetBreadCrumbEntry($sId, $sTitle, $sDescription, $sUrl, $sIcon);
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user