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:
parent
125186c795
commit
5c05d28a8e
1 changed files with 2 additions and 2 deletions
|
@ -42,8 +42,8 @@ class Status extends BaseModule
|
||||||
|
|
||||||
$dtFormat = DI::dtFormat();
|
$dtFormat = DI::dtFormat();
|
||||||
|
|
||||||
if ($args->getArgc() > 2) {
|
if ($args->getArgc() > 3) {
|
||||||
for ($x = 2; $x < $args->getArgc(); $x++) {
|
for ($x = 3; $x < $args->getArgc(); $x++) {
|
||||||
if ($dtFormat->isYearMonth($args->get($x))) {
|
if ($dtFormat->isYearMonth($args->get($x))) {
|
||||||
if ($datequery) {
|
if ($datequery) {
|
||||||
$datequery2 = Strings::escapeHtml($args->get($x));
|
$datequery2 = Strings::escapeHtml($args->get($x));
|
||||||
|
|
Loading…
Reference in a new issue