Skip to content

Commit

Permalink
Enrich custom variable lists in monitoring and icingadb details (#2445)
Browse files Browse the repository at this point in the history
  • Loading branch information
lippserd authored Nov 19, 2024
2 parents 2d48843 + dbacfa2 commit d56ca2c
Show file tree
Hide file tree
Showing 4 changed files with 863 additions and 1 deletion.
3 changes: 2 additions & 1 deletion library/Director/Objects/DirectorDatafield.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ public function getCategory(): ?DirectorDatafieldCategory
if ($this->category) {
return $this->category;
} elseif ($id = $this->get('category_id')) {
return DirectorDatafieldCategory::loadWithAutoIncId($id, $this->getConnection());
$this->category = DirectorDatafieldCategory::loadWithAutoIncId($id, $this->getConnection());
return $this->category;
} else {
return null;
}
Expand Down
Loading

0 comments on commit d56ca2c

Please sign in to comment.