From 85824de70ded75c98bd50220160e2171fdc8df41 Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Fri, 2 Nov 2018 02:03:52 +0100 Subject: render working and url auto link --- w/class/controllerhome.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'w/class/controllerhome.php') diff --git a/w/class/controllerhome.php b/w/class/controllerhome.php index 6e62426..31d27c3 100644 --- a/w/class/controllerhome.php +++ b/w/class/controllerhome.php @@ -22,7 +22,7 @@ class Controllerhome extends Controllerdb public function table2() { - $table = $this->artmanager->getlister(); + $table = $this->modelhome->getlister(); $this->opt = $this->modelhome->optinit($table); $table2 = $this->modelhome->table2($table, $this->opt); @@ -37,8 +37,8 @@ class Controllerhome extends Controllerdb if($this->user->level() >= Modeluser::EDITOR) { $scan = new Modelanalyse; $scan->analyseall(); - - $this->table2(); + $this->redirect('./'); + } } -- cgit v1.2.3