Skip to content

Commit

Permalink
updated popular plugin for counter db #112
Browse files Browse the repository at this point in the history
  • Loading branch information
kujirahand committed Dec 19, 2024
1 parent 8068c94 commit a8b6425
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kona3engine/plugins/popular.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function kona3plugins_popular_execute($args) {
}

$head = "<h3>".lang('Popular')."</h3>";
$r = db_get(
$r = subdb_get(
"SELECT * FROM counter ".
"WHERE mtime > 0 ".
"ORDER BY value DESC LIMIT ?",[$limit]);
Expand Down

0 comments on commit a8b6425

Please sign in to comment.