aboutsummaryrefslogtreecommitdiff
path: root/mod/diagnostics/actions/download.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/diagnostics/actions/download.php')
-rw-r--r--mod/diagnostics/actions/download.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/diagnostics/actions/download.php b/mod/diagnostics/actions/download.php
index 3c096eb0a..a79527f78 100644
--- a/mod/diagnostics/actions/download.php
+++ b/mod/diagnostics/actions/download.php
@@ -7,7 +7,7 @@
admin_gatekeeper();
- $output = elgg_echo('diagnostics:header', array(date('r'), get_loggedin_user()->name));
+ $output = elgg_echo('diagnostics:header', array(date('r'), elgg_get_logged_in_user_entity()->name));
$output = elgg_trigger_plugin_hook('diagnostics:report', 'system', null, $output);
header("Cache-Control: public");