mirror of
https://github.com/friendica/friendica
synced 2025-04-19 06:30:10 +00:00
Issue 9799: Ensure that the first post date is after the registration date
This commit is contained in:
parent
ab9090ede1
commit
6a4540e6f6
3 changed files with 34 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue