aboutsummaryrefslogtreecommitdiff
path: root/app/class/controllerart.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2018-12-04 22:12:34 +0100
committervincent-peugnet <v.peugnet@free.fr>2018-12-04 22:12:34 +0100
commitfc56b60be55b4340d647d2017fdeb24b81eb84b6 (patch)
treebf4875de0115181549408f981804f19350b69b80 /app/class/controllerart.php
parent42e89ac398bdf2a98167b0b71123c98e297b2130 (diff)
downloadwcms-fc56b60be55b4340d647d2017fdeb24b81eb84b6.tar.gz
wcms-fc56b60be55b4340d647d2017fdeb24b81eb84b6.zip
showeditmenu
Diffstat (limited to 'app/class/controllerart.php')
-rw-r--r--app/class/controllerart.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/class/controllerart.php b/app/class/controllerart.php
index f64cda8..be82e6f 100644
--- a/app/class/controllerart.php
+++ b/app/class/controllerart.php
@@ -102,7 +102,7 @@ class Controllerart extends Controller
$this->art->addaffcount();
$this->artmanager->update($this->art);
}
- $data = array_merge($alerts, $page, ['art' => $this->art, 'artexist' => $artexist, 'canread' => $canread, 'readernav' => true]);
+ $data = array_merge($alerts, $page, ['art' => $this->art, 'artexist' => $artexist, 'canread' => $canread, 'readernav' => Config::showeditmenu()]);
$this->showtemplate('read', $data);