diff options
Diffstat (limited to 'app/view')
-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>'; } ?> |