diff options
Diffstat (limited to 'w/class/controllerhome.php')
-rw-r--r-- | w/class/controllerhome.php | 6 |
1 files changed, 3 insertions, 3 deletions
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('./'); + } } |