From: Hank Grabowski Date: Tue, 28 Feb 2023 17:48:25 +0000 (-0500) Subject: Add default getLinkHeader asDate to be false (the previous ID-only way) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f0b3864c7a0a245a65b78afb6c3a38613d1f88aa;p=friendica.git Add default getLinkHeader asDate to be false (the previous ID-only way) --- diff --git a/src/Module/BaseApi.php b/src/Module/BaseApi.php index 3b940e3ae3..bfcb95eb2e 100644 --- a/src/Module/BaseApi.php +++ b/src/Module/BaseApi.php @@ -278,7 +278,7 @@ class BaseApi extends BaseModule * Get the "link" header with "next" and "prev" links * @return string */ - protected static function getLinkHeader(bool $asDate): string + protected static function getLinkHeader(bool $asDate = false): string { if (empty(self::$boundaries)) { return '';