mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-19 08:38:45 +02:00
Bug fix: prevent 'assertion failed' when a block auto reloads: '0' is indeed a valid ID for a display block !!
SVN:trunk[2205]
This commit is contained in:
@@ -254,7 +254,7 @@ class DisplayBlock
|
||||
|
||||
public function RenderContent(WebPage $oPage, $aExtraParams = array())
|
||||
{
|
||||
if (empty($aExtraParams['currentId']))
|
||||
if (!isset($aExtraParams['currentId']))
|
||||
{
|
||||
$sId = $oPage->GetUniqueId(); // Works only if the page is not an Ajax one !
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user