diff --git a/core/dispatch.php b/core/dispatch.php index 7b5838db580dc89771775e25ce5ae4d45fb2a06a..6d6b55a2082e8e78b0d22a9a8ba77b2fa8a6aa7f 100644 --- a/core/dispatch.php +++ b/core/dispatch.php @@ -33,7 +33,9 @@ if (PIWIK_ENABLE_DISPATCH) { $controller->init(); $response = $controller->dispatch(); - if (!is_null($response)) { + if(is_array($response)) { + var_export($response); + } elseif (!is_null($response)) { echo $response; } }