Bug CategoryTree return no data

There is a bug in this version
R

RisteDimitrievski

Guest
method getViewableCategories() function return no Categories data but these categories already exists.

PHP:

Code:
use XF\ControllerPlugin\AbstractCategoryTree;
use XF\Mvc\ParameterBag;

class CategoryTree extends AbstractCategoryTree
{
    protected $viewFormatter = 'downloadsystem\XF:Category\%s';
    protected $templateFormatter = 'xf_rd_downloadsystem_category_%s';
    protected $routePrefix = 'download-system/categories';
    protected $entityIdentifier = 'downloadsystem\XF:Category'...

Read more

Continue reading...