From 5c05d28a8eeab55366322e61f26cb5b5eda96b46 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sat, 25 Jan 2020 16:23:09 -0500 Subject: [PATCH] Increase argument counter after route change in Module\Profile\Status - Address https://github.com/friendica/friendica/pull/8156#issuecomment-578302294 --- src/Module/Profile/Status.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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));