This commit is contained in:
Pablo Ferreiro
2022-03-16 00:33:59 +01:00
parent e4e6f05362
commit ade2b3c01a
2 changed files with 1 additions and 2 deletions
-1
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
+1 -1
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 = '') {