diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2018-12-23 18:20:57 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2018-12-23 18:20:57 +0100 |
commit | e8566a57cf1b9cc2eed10429f27840d17da945ef (patch) | |
tree | 9902d9f4dc2e871819af21ede642e50aaab1518b /app/class/controllerart.php | |
parent | 532cdf4bb82ab7cc6fa7659d9aec3ce122b2ec52 (diff) | |
download | wcms-e8566a57cf1b9cc2eed10429f27840d17da945ef.tar.gz wcms-e8566a57cf1b9cc2eed10429f27840d17da945ef.zip |
feature users
Diffstat (limited to 'app/class/controllerart.php')
-rw-r--r-- | app/class/controllerart.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/class/controllerart.php b/app/class/controllerart.php index 7bc8c23..c097df4 100644 --- a/app/class/controllerart.php +++ b/app/class/controllerart.php @@ -24,8 +24,9 @@ class Controllerart extends Controller $cleanid = idclean($id); if ($cleanid !== $id) { $this->routedirect($route, ['art' => $cleanid]); + } else { + $this->art = new Art2(['id' => $cleanid]); } - $this->art = new Art2(['id' => $cleanid]); } public function importart() @@ -33,7 +34,6 @@ class Controllerart extends Controller $art = $this->artmanager->get($this->art); if ($art !== false) { $this->art = $art; - //$this->art->autotaglistupdate($this->artmanager->taglist($this->artmanager->getlister(['id', 'title', 'description', 'tag']), $this->art->autotaglist())); return true; } else { return false; @@ -149,7 +149,6 @@ class Controllerart extends Controller { $this->setart($id, 'artlog'); $this->importart(); - var_dump($this->art); } public function add($id) |