From 687b1f851abbb28750d2921d4f5beaac24b3249d Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Mon, 5 Nov 2018 18:08:39 +0100 Subject: fix bugs --- w/class/controllerart.php | 1 + w/class/modelart.php | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'w/class') diff --git a/w/class/controllerart.php b/w/class/controllerart.php index 4abc572..ef65f48 100644 --- a/w/class/controllerart.php +++ b/w/class/controllerart.php @@ -43,6 +43,7 @@ class Controllerart extends Controllerdb $head = ''; + if ($artexist) { if ($this->art->daterender() < $this->art->datemodif()) { diff --git a/w/class/modelart.php b/w/class/modelart.php index 39ef50f..37262ad 100644 --- a/w/class/modelart.php +++ b/w/class/modelart.php @@ -30,7 +30,6 @@ class Modelart extends Modeldb { $artdata = new \JamesMoss\Flywheel\Document($art->dry()); - var_dump($artdata); $artdata->setId($art->id()); $this->artstore->store($artdata); } -- cgit v1.2.3