diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2018-12-26 17:58:50 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2018-12-26 17:58:50 +0100 |
commit | b596f5d1c15ce3e2df50c756fd56080192e438ef (patch) | |
tree | 507299e1322c8596166a5b98610a68e5c712b52b /app/class/controllerart.php | |
parent | 1181795d8fa682571bd7e970eeefd43ed90aa30b (diff) | |
download | wcms-b596f5d1c15ce3e2df50c756fd56080192e438ef.tar.gz wcms-b596f5d1c15ce3e2df50c756fd56080192e438ef.zip |
feature: pages authors
Diffstat (limited to 'app/class/controllerart.php')
-rw-r--r-- | app/class/controllerart.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/class/controllerart.php b/app/class/controllerart.php index c097df4..9a4edbe 100644 --- a/app/class/controllerart.php +++ b/app/class/controllerart.php @@ -149,6 +149,7 @@ class Controllerart extends Controller { $this->setart($id, 'artlog'); $this->importart(); + var_dump($this->art); } public function add($id) @@ -215,6 +216,7 @@ class Controllerart extends Controller $this->art->hydrate($_POST); $this->art->hydrate($date); $this->art->updateedited(); + $this->art->addauthor($this->user->id()); $this->artmanager->update($this->art); } |