Simplified code

This commit is contained in:
Michael 2023-09-02 19:28:54 +00:00
parent 4ad3cc2cc1
commit 68b9a9796c
2 changed files with 1 additions and 5 deletions

View file

@ -246,8 +246,7 @@ class Community extends BaseModule
}
self::$min_id = $_GET['min_id'] ?? null;
self::$max_id = $_GET['max_id'] ?? null;
self::$max_id = $_GET['last_commented'] ?? self::$max_id;
self::$max_id = $_GET['last_commented'] ?? $_GET['max_id'] ?? null;
}
/**