include unlisted pages
This commit is contained in:
parent
1045d83004
commit
f9ec67ad27
1 changed files with 2 additions and 0 deletions
|
@ -32,6 +32,7 @@ $drafts = $pages->getDraftDB(true);
|
||||||
$scheduled = $pages->getScheduledDB(true);
|
$scheduled = $pages->getScheduledDB(true);
|
||||||
$static = $pages->getStaticDB(true);
|
$static = $pages->getStaticDB(true);
|
||||||
$sticky = $pages->getStickyDB(true);
|
$sticky = $pages->getStickyDB(true);
|
||||||
|
$unlisted = $pages->getUnlistedDB(true);
|
||||||
|
|
||||||
// If the user has the role "Author" filter the content so he/she can edit
|
// If the user has the role "Author" filter the content so he/she can edit
|
||||||
if (checkRole(array('author'), false)) {
|
if (checkRole(array('author'), false)) {
|
||||||
|
@ -40,6 +41,7 @@ if (checkRole(array('author'), false)) {
|
||||||
$scheduled = filterContentOwner($scheduled);
|
$scheduled = filterContentOwner($scheduled);
|
||||||
$static = filterContentOwner($static);
|
$static = filterContentOwner($static);
|
||||||
$sticky = filterContentOwner($sticky);
|
$sticky = filterContentOwner($sticky);
|
||||||
|
$unlisted = filterContentOwner($unlisted);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check if the page number is out of range
|
// Check if the page number is out of range
|
||||||
|
|
Loading…
Reference in a new issue