]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/Widget.php
Merge pull request #10005 from annando/issue-8547
[friendica.git] / src / Content / Widget.php
index 032b9e7534d3f8a3e05a12ab1c1b067697a5b463..f3e82b0db6b2371bdb08e2b01e47b4fa38c67b21 100644 (file)
@@ -463,7 +463,7 @@ class Widget
 
                $cachekey = 'Widget::postedByYear' . $uid . '-' . (int)$wall;
                $dthen = DI::cache()->get($cachekey);
-               if (!empty($dthen)) {
+               if (empty($dthen)) {
                        $dthen = Item::firstPostDate($uid, $wall);
                        DI::cache()->set($cachekey, $dthen, Duration::HOUR);
                }