aboutsummaryrefslogtreecommitdiff
path: root/mod/diagnostics/actions
diff options
context:
space:
mode:
Diffstat (limited to 'mod/diagnostics/actions')
-rw-r--r--mod/diagnostics/actions/download.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/diagnostics/actions/download.php b/mod/diagnostics/actions/download.php
index 628d19115..3f7181f27 100644
--- a/mod/diagnostics/actions/download.php
+++ b/mod/diagnostics/actions/download.php
@@ -10,7 +10,7 @@
admin_gatekeeper();
$output = sprintf(elgg_echo('diagnostics:header'), date('r'), $_SESSION['user']->name);
- $output = trigger_plugin_hook('diagnostics:report', 'all', null, $output);
+ $output = trigger_plugin_hook('diagnostics:report', 'system', null, $output);
header("Cache-Control: public");
header("Content-Description: File Transfer");
@@ -19,4 +19,5 @@
header('Content-Length: '. strlen($output));
echo $output;
+ exit;
?> \ No newline at end of file