more diagnostics in has_capability() - number instead of context object detected and debug message displayed
more diagnostics in has_capability() - number instead of context object detected and debug message displayed

dilawar/moodle