inc/managers/RoleManager.php
@@ -17,7 +17,7 @@ { $this->roles = array_keys(JVB_USER); $this->content = array_map(function($content) { return strtolower($content['plural']); return strtolower($content['plural']??$content['singular'].'s'); },JVB_CONTENT); add_action('set_user_role', [$this, 'updateRoles'], 10, 3); }