diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2019-01-22 02:04:53 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2019-01-22 02:04:53 +0100 |
commit | 695908c7ab2a5d5f011f616d2af3368da7131a6f (patch) | |
tree | cbd6c2a43495e77863d3611e2f6b12985b1111d8 /app/class/opt.php | |
parent | a8ed9070e7773f3147a33dbee7d45ce24bd8959d (diff) | |
download | wcms-695908c7ab2a5d5f011f616d2af3368da7131a6f.tar.gz wcms-695908c7ab2a5d5f011f616d2af3368da7131a6f.zip |
home columns and download function added
Diffstat (limited to 'app/class/opt.php')
-rw-r--r-- | app/class/opt.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/class/opt.php b/app/class/opt.php index 9d23c3f..6ea3e7e 100644 --- a/app/class/opt.php +++ b/app/class/opt.php @@ -88,7 +88,7 @@ class Opt public function getadress($sortby) { - if(in_array($sortby, $this->col)) { + if(in_array($sortby, Model::COLUMNS)) { if($this->sortby() === $sortby) { $order = $this->order * -1; } else { @@ -108,7 +108,7 @@ class Opt return $adress; } else { - returnfalse; + return false; } } |