aboutsummaryrefslogtreecommitdiff
path: root/app/class/controllerart.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2019-02-01 15:15:13 +0100
committervincent-peugnet <v.peugnet@free.fr>2019-02-01 15:15:13 +0100
commit0e8661256f7851e1feb0d5d49a46a2a56149fd83 (patch)
tree84ad7c238cb8c24e80f07a12f4a32afd64bb897e /app/class/controllerart.php
parentcc183f395a5e4eb93b712dfacc8083f6554b2250 (diff)
downloadwcms-0e8661256f7851e1feb0d5d49a46a2a56149fd83.tar.gz
wcms-0e8661256f7851e1feb0d5d49a46a2a56149fd83.zip
edit by fix
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 dfdde7f..95a9d3e 100644
--- a/app/class/controllerart.php
+++ b/app/class/controllerart.php
@@ -149,7 +149,7 @@ class Controllerart extends Controller
$this->setart($id, 'artedit');
- if ($this->importart() && $this->canedit()) {
+ if ($this->importart() && $this->canedit() && empty($this->art->editby())) {
$tablist = ['main' => $this->art->main(), 'css' => $this->art->css(), 'header' => $this->art->header(), 'nav' => $this->art->nav(), 'aside' => $this->art->aside(), 'footer' => $this->art->footer(), 'body' => $this->art->body(), 'javascript' => $this->art->javascript()];
$faviconlist = $this->mediamanager->listfavicon();