aboutsummaryrefslogtreecommitdiff
path: root/app/class/Modelhome.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2020-04-28 20:18:17 +0200
committervincent-peugnet <v.peugnet@free.fr>2020-04-28 20:24:52 +0200
commit9090550d241f9f7b3246b24bfd323bd988add749 (patch)
tree2c2de66510533da53848dd876a9ab392471b38b8 /app/class/Modelhome.php
parent98514a4e0037aa0879e45bbad660aeda8837c624 (diff)
downloadwcms-9090550d241f9f7b3246b24bfd323bd988add749.tar.gz
wcms-9090550d241f9f7b3246b24bfd323bd988add749.zip
listen to brother Stan and clean some things
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';