From 7936b03dfedf2fef867bf71aa2b453b3c9bf2819 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sun, 25 Sep 2016 13:26:12 +0200 Subject: [PATCH] Fix variable name in `TDecoratedCategoryMenuPageHandler` --- .../page/handler/TDecoratedCategoryMenuPageHandler.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.20.1