We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e1bb40 commit b7d4b5fCopy full SHA for b7d4b5f
wcfsetup/install/files/lib/data/user/UserProfileList.class.php
@@ -2,6 +2,8 @@
2
3
namespace wcf\data\user;
4
5
+use wcf\system\cache\runtime\FileRuntimeCache;
6
+
7
/**
8
* Represents a list of user profiles.
9
*
@@ -59,5 +61,13 @@ public function readObjects()
59
61
}
60
62
63
parent::readObjects();
64
65
+ $coverPhotoFileIDs = [];
66
+ foreach ($this->objects as $object) {
67
+ if ($object->coverPhotoFileID) {
68
+ $coverPhotoFileIDs[] = $object->coverPhotoFileID;
69
+ }
70
71
+ FileRuntimeCache::getInstance()->cacheObjectIDs($coverPhotoFileIDs);
72
73
0 commit comments