Compare commits
1 commit
main
...
fix/rankin
Author | SHA1 | Date | |
---|---|---|---|
bc2d1e27ad |
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,7 @@ while ($row = $stmt->fetch()) {
|
|||
$categories[] = $row;
|
||||
}
|
||||
|
||||
$stmt = $smarty->dbh()->prepare("SELECT ranking, title FROM {$opt["table_prefix"]}ranks ORDER BY rankorder");
|
||||
$stmt = $smarty->dbh()->prepare("SELECT ranking, title FROM {$opt["table_prefix"]}ranks ORDER BY rankorder DESC");
|
||||
$stmt->execute();
|
||||
$ranks = array();
|
||||
while ($row = $stmt->fetch()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue