]> git.mxchange.org Git - friendica.git/commitdiff
Fix Archives Widget on Status Page
authorSteffen K9 <alfred@skrumbholz.de>
Sat, 1 Feb 2020 13:06:35 +0000 (14:06 +0100)
committerGitHub <noreply@github.com>
Sat, 1 Feb 2020 13:06:35 +0000 (14:06 +0100)
Solution 'borrowed' from PR8116.

src/Module/Profile/Status.php

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