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:
Denis Flaven
2012-09-25 10:01:58 +00:00
parent d747b1fe26
commit ab1143e0e1

View File

@@ -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 !
}