1
1
Fork 0

Fix Archives Widget on Status Page

Solution 'borrowed' from PR8116.
This commit is contained in:
Steffen K9 2020-02-01 14:06:35 +01:00 committed by GitHub
parent 96b9619608
commit e901468602
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,7 +44,7 @@ class Status extends BaseProfile
if ($args->getArgc() > 3) { if ($args->getArgc() > 3) {
for ($x = 3; $x < $args->getArgc(); $x++) { for ($x = 3; $x < $args->getArgc(); $x++) {
if ($dtFormat->isYearMonth($args->get($x))) { if ($dtFormat->isYearMonthDay($args->get($x))) {
if ($datequery) { if ($datequery) {
$datequery2 = Strings::escapeHtml($args->get($x)); $datequery2 = Strings::escapeHtml($args->get($x));
} else { } else {