Increase argument counter after route change in Module\Profile\Status

- Address https://github.com/friendica/friendica/pull/8156#issuecomment-578302294
This commit is contained in:
Hypolite Petovan 2020-01-25 16:23:09 -05:00
parent 125186c795
commit 5c05d28a8e

View file

@ -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));