Bug fixed, when there are not pages

This commit is contained in:
dignajar 2016-10-06 10:18:38 -03:00
parent f4fa692165
commit 114caa9b8c

View File

@ -237,7 +237,9 @@ function buildAllPages()
}
}
$parents = $pagesParentsPublished[NO_PARENT_CHAR];
if( isset($pagesParentsPublished[NO_PARENT_CHAR]) ) {
$parents = $pagesParentsPublished[NO_PARENT_CHAR];
}
return $pages;
}