hotfix
This commit is contained in:
parent
e4e6f05362
commit
ade2b3c01a
|
@ -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 = '') {
|
||||
|
|
Loading…
Reference in a new issue