diff --git a/core/user.class.php b/core/user.class.php index 39204ff6..0c98597b 100644 --- a/core/user.class.php +++ b/core/user.class.php @@ -152,7 +152,7 @@ class User { ), ); - return $user_classes[$this->get_class()][$action]; + return $user_classes[$this->get_class()][$ability]; } // FIXME: this should be a column in the users table