What's new
Xen Factory

Register today to become a member! Once signed in, you'll be able to start purchasing our products, ask questions, request support and suggest new ideas!

Bug Fixed Disabled questions still shown

zordem

New Member
Hello, i've noticed that disabled questions could still be accessed.

I was able to fix this by editing src\addons\XFA\FrequentlyAskedQuestions\Pub\Controller\FaqController.php after line 82.

My code looks like this:
Code:
$faqs = $faqFinder
    ->limit($perPage)
    ->offset(($page - 1) * $perPage)
    ->where('enable', '=', true)
    ->fetch();

Best regards
zordem
 
Last edited:

From bespoke add-on development to complex integrations and specialized enhancements, we offer a range of XenForo development services designed to help your community thrive.

Start discussing your needs
Back
Top
Cart