Fixed undefined method setThumbnailImage
authorMarcel Werk <burntime@woltlab.com>
Sun, 23 Jul 2017 16:16:25 +0000 (18:16 +0200)
committerMarcel Werk <burntime@woltlab.com>
Sun, 23 Jul 2017 16:16:25 +0000 (18:16 +0200)
wcfsetup/install/files/lib/data/article/content/ViewableArticleContentList.class.php

index 73e175011a05fc65a6cc30b20e7a94d1023b44c6..7953360bcc47e3071bda43b3b5c422937a367668 100644 (file)
@@ -53,8 +53,8 @@ class ViewableArticleContentList extends ArticleContentList {
                                if ($articleContent->imageID && isset($images[$articleContent->imageID])) {
                                        $articleContent->setImage($images[$articleContent->imageID]);
                                }
-                               if ($articleContent->thumbnailImageID && isset($images[$articleContent->thumbnailImageID])) {
-                                       $articleContent->setThumbnailImage($images[$articleContent->thumbnailImageID]);
+                               if ($articleContent->teaserImageID && isset($images[$articleContent->teaserImageID])) {
+                                       $articleContent->setTeaserImage($images[$articleContent->teaserImageID]);
                                }
                        }
                }