Solved Incorrect context check in Trending and Featured Content widgets

This topic has been solved
D

DragonByte Tech

Guest
Problem: The thread context isn't being correctly checked to ensure it is of instance XF\Entity\Thread.

Fixes:
Diff:

Code:
Index: src/XF/Widget/FeaturedContent.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/src/XF/Widget/FeaturedContent.php b/src/XF/Widget/FeaturedContent.php
--- a/src/XF/Widget/FeaturedContent.php
+++...

Read more

Continue reading...