Bug fixed, when there are not pages
This commit is contained in:
parent
f4fa692165
commit
114caa9b8c
|
@ -237,7 +237,9 @@ function buildAllPages()
|
|||
}
|
||||
}
|
||||
|
||||
$parents = $pagesParentsPublished[NO_PARENT_CHAR];
|
||||
if( isset($pagesParentsPublished[NO_PARENT_CHAR]) ) {
|
||||
$parents = $pagesParentsPublished[NO_PARENT_CHAR];
|
||||
}
|
||||
|
||||
return $pages;
|
||||
}
|
Loading…
Reference in New Issue