diff --git a/modules/monitoring/library/Monitoring/Hook/DataviewExtensionHook.php b/modules/monitoring/library/Monitoring/Hook/DataviewExtensionHook.php index cb0269219..c50d1d747 100644 --- a/modules/monitoring/library/Monitoring/Hook/DataviewExtensionHook.php +++ b/modules/monitoring/library/Monitoring/Hook/DataviewExtensionHook.php @@ -9,6 +9,10 @@ abstract class DataviewExtensionHook { $cols = $this->provideAdditionalQueryColumns($queryName); + if (! is_array($cols)) { + return array(); + } + return $cols; }