Fix ignoring the disable state of an article category
authorjoshuaruesweg <ruesweg@woltlab.com>
Tue, 11 May 2021 10:52:07 +0000 (12:52 +0200)
committerjoshuaruesweg <ruesweg@woltlab.com>
Tue, 11 May 2021 10:52:07 +0000 (12:52 +0200)
commita18a4bc2148a68c614dd755476461e5f392bdd0e
treeaeed750b8ede1562afdecf325aff79e5e7dbe1f9
parent2c015a21565b61a6b39e79cfd9c1cf4ef4579c6c
Fix ignoring the disable state of an article category

Deactivated categories are currently only hidden in the overview of categories in the frontend. However, articles in these categories (and the category itself, via the direct link) were still accessible. This patch solves the problem by hiding the category for all users and making articles and the category itself no longer accessible for any user.
wcfsetup/install/files/lib/data/article/category/ArticleCategory.class.php