diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2020-04-08 16:38:38 +0200 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2020-04-08 16:38:38 +0200 |
commit | c3e62c500b38104acaecc987621cfc03058729c0 (patch) | |
tree | 8e71178b383055eb5bc659b04bb2da59dad6b778 /app/view/templates | |
parent | b49830232096951202688bd775193424880bbd11 (diff) | |
download | wcms-c3e62c500b38104acaecc987621cfc03058729c0.tar.gz wcms-c3e62c500b38104acaecc987621cfc03058729c0.zip |
fix and clean Opt
Diffstat (limited to 'app/view/templates')
-rw-r--r-- | app/view/templates/homeopt.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/view/templates/homeopt.php b/app/view/templates/homeopt.php index ed7315d..b720aea 100644 --- a/app/view/templates/homeopt.php +++ b/app/view/templates/homeopt.php @@ -16,7 +16,7 @@ <legend>Sort</legend> <select name="sortby" id="sortby"> <?php - foreach ($opt->col('array') as $key => $col) { + foreach (Wcms\Model::COLUMNS as $col) { echo '<option value="' . $col . '" ' . ($opt->sortby() == $col ? "selected" : "") . '>' . $col . '</option>'; } ?> |