Skip to content

Commit 880cf05

Browse files
committed
Compat: Fix status % to only account for PS3 Games
As described already, this count is for Games. It was incorrectly including the count of PS3 Apps as well. In the future, we can add alternative views for Applications.
1 parent ed4d6ec commit 880cf05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ function generateStatusModule(bool $getCount = true) : string
720720
$db = getDatabase();
721721

722722
// Get games count per status
723-
$count = countGames($db)["status"];
723+
$count = countGames($db, "`type` = 'PS3 Game'")["status"];
724724

725725
mysqli_close($db);
726726

0 commit comments

Comments
 (0)