diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2019-02-01 15:15:13 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2019-02-01 15:15:13 +0100 |
commit | 0e8661256f7851e1feb0d5d49a46a2a56149fd83 (patch) | |
tree | 84ad7c238cb8c24e80f07a12f4a32afd64bb897e /app/class/controllerart.php | |
parent | cc183f395a5e4eb93b712dfacc8083f6554b2250 (diff) | |
download | wcms-0e8661256f7851e1feb0d5d49a46a2a56149fd83.tar.gz wcms-0e8661256f7851e1feb0d5d49a46a2a56149fd83.zip |
edit by fix
Diffstat (limited to 'app/class/controllerart.php')
-rw-r--r-- | app/class/controllerart.php | 2 |
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(); |