MDL-56565 core: fix user details disclosure in page context header
authorJake Dallimore <jake@moodle.com>
Mon, 9 Jan 2017 04:09:21 +0000 (12:09 +0800)
committerMr. Jenkins (CiBoT) <cibot@moodle.org>
Tue, 4 Jul 2017 02:11:34 +0000 (10:11 +0800)
commit08692e973626467c93f688e48838f12a96c88f3a
treeecced28b96d73b37c41b22bc2e4b4e2ca0c59a6a
parent2fe7f706d7567babd6c7aeb6612f231d2ce2fb2f
MDL-56565 core: fix user details disclosure in page context header

Fixes a bug with context_header function in which user details were
displayed regardless of the current user's capabilities.
lib/outputrenderers.php