Skip to content

Commit

Permalink
ObjectInspectionDetail: HtmlElement param#3 expects ValidHtml
Browse files Browse the repository at this point in the history
  • Loading branch information
sukhwinder33445 authored and nilmerg committed Aug 22, 2023
1 parent 1aaa95e commit aaf3a7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Icingadb/Common/ObjectInspectionDetail.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ protected function createLastCheckResult()
];

if ($command) {
$execCommand = new HtmlElement('pre', null, $command);
$execCommand = new HtmlElement('pre', null, Text::create($command));
CopyToClipboard::attachTo($execCommand);
} else {
$execCommand = new EmptyState(t('n. a.'));
Expand Down

0 comments on commit aaf3a7b

Please sign in to comment.