From a8b64255dae4348c9a14cd5d946b70c63fe7b9f9 Mon Sep 17 00:00:00 2001 From: kujirahand Date: Thu, 19 Dec 2024 23:43:17 +0900 Subject: [PATCH] updated popular plugin for counter db #112 --- kona3engine/plugins/popular.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kona3engine/plugins/popular.inc.php b/kona3engine/plugins/popular.inc.php index 4304770..d739a83 100644 --- a/kona3engine/plugins/popular.inc.php +++ b/kona3engine/plugins/popular.inc.php @@ -20,7 +20,7 @@ function kona3plugins_popular_execute($args) { } $head = "

".lang('Popular')."

"; - $r = db_get( + $r = subdb_get( "SELECT * FROM counter ". "WHERE mtime > 0 ". "ORDER BY value DESC LIMIT ?",[$limit]);