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
1 changed files with 3 additions and 1 deletions

View File

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