mirror of
https://github.com/pablouser1/ProxiTok.git
synced 2024-12-06 19:27:30 +01:00
hotfix
This commit is contained in:
@@ -8,7 +8,6 @@ use App\Helpers\RSS;
|
||||
|
||||
class TrendingController {
|
||||
static public function get() {
|
||||
$cursor = Misc::getTtwid();
|
||||
$api = Misc::api();
|
||||
|
||||
// Ttwid if normal, cursor if legacy
|
||||
|
||||
@@ -10,7 +10,7 @@ class Misc {
|
||||
}
|
||||
|
||||
static public function getTtwid(): string {
|
||||
return $_GET['cursor'] ?? '';
|
||||
return isset($_GET['cursor']) ? $_GET['cursor'] : '';
|
||||
}
|
||||
|
||||
static public function url(string $endpoint = '') {
|
||||
|
||||
Reference in New Issue
Block a user