From: Hypolite Petovan Date: Sat, 25 Jan 2020 21:23:09 +0000 (-0500) Subject: Increase argument counter after route change in Module\Profile\Status X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5c05d28a8eeab55366322e61f26cb5b5eda96b46;p=friendica.git Increase argument counter after route change in Module\Profile\Status - Address https://github.com/friendica/friendica/pull/8156#issuecomment-578302294 --- diff --git a/src/Module/Profile/Status.php b/src/Module/Profile/Status.php index 1300fdc97f..0047f27ed0 100644 --- a/src/Module/Profile/Status.php +++ b/src/Module/Profile/Status.php @@ -42,8 +42,8 @@ class Status extends BaseModule $dtFormat = DI::dtFormat(); - if ($args->getArgc() > 2) { - for ($x = 2; $x < $args->getArgc(); $x++) { + if ($args->getArgc() > 3) { + for ($x = 3; $x < $args->getArgc(); $x++) { if ($dtFormat->isYearMonth($args->get($x))) { if ($datequery) { $datequery2 = Strings::escapeHtml($args->get($x));