diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2019-08-17 00:02:21 +0200 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2019-08-17 00:02:21 +0200 |
commit | 0d863868d69d9e2c9ae3f6f0b22b4d3a1be73ee2 (patch) | |
tree | 976e3466be56ab81969d9ea30604c35f58102c70 /app/class/controllerhome.php | |
parent | b5ebee8dea28e3a9c5160de1c56f7715153f3af4 (diff) | |
download | wcms-0d863868d69d9e2c9ae3f6f0b22b4d3a1be73ee2.tar.gz wcms-0d863868d69d9e2c9ae3f6f0b22b4d3a1be73ee2.zip |
Feature : list is going to work soon
Diffstat (limited to 'app/class/controllerhome.php')
-rw-r--r-- | app/class/controllerhome.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/class/controllerhome.php b/app/class/controllerhome.php index c053270..166ada9 100644 --- a/app/class/controllerhome.php +++ b/app/class/controllerhome.php @@ -36,9 +36,7 @@ class Controllerhome extends Controller if(isset($_POST['query']) && $this->user->iseditor()) { $datas = array_merge($_POST, $_SESSION['opt']); - $this->optlist = new Optlist(Art2::classvarlist()); - $this->optlist->settaglist($table); - $this->optlist->setauthorlist($table); + $this->optlist = $this->modelhome->Optlistinit($table); $this->optlist->hydrate($datas); $vars['optlist'] = $this->optlist; } |