This commit is contained in:
Pablo Ferreiro 2022-03-16 00:33:59 +01:00
parent e4e6f05362
commit ade2b3c01a
No known key found for this signature in database
GPG key ID: 41FBCE65B779FA24
2 changed files with 1 additions and 2 deletions

View file

@ -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

View file

@ -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 = '') {