From b596f5d1c15ce3e2df50c756fd56080192e438ef Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Wed, 26 Dec 2018 17:58:50 +0100 Subject: feature: pages authors --- app/class/controllerart.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/class/controllerart.php') 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); } -- cgit v1.2.3