Conflict with Vaultwiki

Alpha1

Active Member
Reactions
181
Please see: https://www.vaultwiki.org/issue.php?issueid=4837

SV_ModEss_XenForo_ViewPublic_ModerationQueue_List is not written in a way that plays well with other add-ons that also need to modify the same view. It overwrites a method without calling the parent method. The method ::renderHtml() needs the following code added:
Code:
        if (method_exists('XFCP_SV_ModEss_XenForo_ViewPublic_ModerationQueue_List', 'renderHtml'))
        {
            parent::renderHtml();
        }
 
The actual solution is:
Code:
        if (is_callable('parent::renderHtml'))
        {
            parent::renderHtml();
        }
 

Users who are viewing this thread

Back
Top