aboutsummaryrefslogtreecommitdiff
path: root/app/view/templates
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2020-04-08 16:38:38 +0200
committervincent-peugnet <v.peugnet@free.fr>2020-04-08 16:38:38 +0200
commitc3e62c500b38104acaecc987621cfc03058729c0 (patch)
tree8e71178b383055eb5bc659b04bb2da59dad6b778 /app/view/templates
parentb49830232096951202688bd775193424880bbd11 (diff)
downloadwcms-c3e62c500b38104acaecc987621cfc03058729c0.tar.gz
wcms-c3e62c500b38104acaecc987621cfc03058729c0.zip
fix and clean Opt
Diffstat (limited to 'app/view/templates')
-rw-r--r--app/view/templates/homeopt.php2
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>';
}
?>