aboutsummaryrefslogtreecommitdiff
path: root/app/class/controllerhome.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2019-08-17 00:02:21 +0200
committervincent-peugnet <v.peugnet@free.fr>2019-08-17 00:02:21 +0200
commit0d863868d69d9e2c9ae3f6f0b22b4d3a1be73ee2 (patch)
tree976e3466be56ab81969d9ea30604c35f58102c70 /app/class/controllerhome.php
parentb5ebee8dea28e3a9c5160de1c56f7715153f3af4 (diff)
downloadwcms-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.php4
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;
}