Fix caching of teaserImages in ViewableArticleContentList
authorJoshua Rüsweg <ruesweg@woltlab.com>
Fri, 27 Dec 2019 14:45:31 +0000 (15:45 +0100)
committerJoshua Rüsweg <ruesweg@woltlab.com>
Fri, 27 Dec 2019 14:45:38 +0000 (15:45 +0100)
wcfsetup/install/files/lib/data/article/content/ViewableArticleContentList.class.php

index 2fc1ef1d9c2f034d053e423a8cfa43af7a3feead..6412984e885f7efa4157a24c76a3b10903281c50 100644 (file)
@@ -34,8 +34,8 @@ class ViewableArticleContentList extends ArticleContentList {
                        if ($articleContent->imageID) {
                                $imageIDs[] = $articleContent->imageID;
                        }
-                       if ($articleContent->thumbnailImageID) {
-                               $imageIDs[] = $articleContent->thumbnailImageID;
+                       if ($articleContent->teaserImageID) {
+                               $imageIDs[] = $articleContent->teaserImageID;
                        }
                        if ($articleContent->hasEmbeddedObjects) {
                                $embeddedObjectPostIDs[] = $articleContent->articleContentID;