From: Matthias Schmidt Date: Sun, 25 Sep 2016 11:26:12 +0000 (+0200) Subject: Fix variable name in `TDecoratedCategoryMenuPageHandler` X-Git-Tag: 3.0.0_Beta_2~146 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7936b03dfedf2fef867bf71aa2b453b3c9bf2819;p=GitHub%2FWoltLab%2FWCF.git Fix variable name in `TDecoratedCategoryMenuPageHandler` --- diff --git a/wcfsetup/install/files/lib/system/page/handler/TDecoratedCategoryMenuPageHandler.class.php b/wcfsetup/install/files/lib/system/page/handler/TDecoratedCategoryMenuPageHandler.class.php index fb18375638..585d5b0fae 100644 --- a/wcfsetup/install/files/lib/system/page/handler/TDecoratedCategoryMenuPageHandler.class.php +++ b/wcfsetup/install/files/lib/system/page/handler/TDecoratedCategoryMenuPageHandler.class.php @@ -35,7 +35,7 @@ trait TDecoratedCategoryMenuPageHandler { } // check if access to category is restricted - if ($category instanceof IAccessibleObject && !$className->isAccessible()) { + if ($category instanceof IAccessibleObject && !$category->isAccessible()) { return false; }