aboutsummaryrefslogtreecommitdiff
path: root/app/class/Modelhome.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/class/Modelhome.php')
-rw-r--r--app/class/Modelhome.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/class/Modelhome.php b/app/class/Modelhome.php
index b798f56..680cfa9 100644
--- a/app/class/Modelhome.php
+++ b/app/class/Modelhome.php
@@ -264,7 +264,7 @@ class Modelhome extends Modelpage
$nodes = [];
foreach ($pagelist as $id => $page) {
- if ($showorphans || (!$showorphans && in_array($id, $notorphans))) {
+ if ($showorphans || in_array($id, $notorphans)) {
$node['group'] = 'nodes';
$node['data']['id'] = $page->id();
$node['data']['edit'] = $page->id() . DIRECTORY_SEPARATOR . 'edit';