Fix variable name in `TDecoratedCategoryMenuPageHandler`
authorMatthias Schmidt <gravatronics@live.com>
Sun, 25 Sep 2016 11:26:12 +0000 (13:26 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 25 Sep 2016 11:26:17 +0000 (13:26 +0200)
wcfsetup/install/files/lib/system/page/handler/TDecoratedCategoryMenuPageHandler.class.php

index fb18375638adb8dd47deed06db165c4b852a6998..585d5b0faeec879b83bb219774e2894c2d462d76 100644 (file)
@@ -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;
                }