mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 08:14:03 +02:00
DataviewExtensionHook: return fetched columns
This commit is contained in:
parent
0e709d5469
commit
6394cec933
@ -9,6 +9,10 @@ abstract class DataviewExtensionHook
|
|||||||
{
|
{
|
||||||
$cols = $this->provideAdditionalQueryColumns($queryName);
|
$cols = $this->provideAdditionalQueryColumns($queryName);
|
||||||
|
|
||||||
|
if (! is_array($cols)) {
|
||||||
|
return array();
|
||||||
|
}
|
||||||
|
|
||||||
return $cols;
|
return $cols;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user