mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 00:04:05 +02:00
ObjectsTableEndpoint: merge arrays, it fails with
...with ipl
This commit is contained in:
parent
83907eb8fa
commit
686f168ee3
@ -54,7 +54,7 @@ class ObjectsTableEndpoint extends ObjectsTable
|
|||||||
public function getRowClasses($row)
|
public function getRowClasses($row)
|
||||||
{
|
{
|
||||||
if ($row->object_name === $this->deploymentEndpoint) {
|
if ($row->object_name === $this->deploymentEndpoint) {
|
||||||
return array('deployment-endpoint', parent::getRowClasses($row));
|
return array_merge(array('deployment-endpoint'), parent::getRowClasses($row));
|
||||||
} else {
|
} else {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user