Skip to content

Commit

Permalink
Error check for Tag checker
Browse files Browse the repository at this point in the history
  • Loading branch information
pingevt committed Jan 7, 2024
1 parent 70741d9 commit 09dc388
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,8 @@ public function getStatusBadge(Result $result):StatusBadge {
$badge->addLibrary('esm_test_tag_checker/status_badge');

$badge->addLabel(str_replace(['https://', "http://"], "", $result->field_url->uri));
$badge->addItem("info", $result->field_meta_tag_count->value, "Meta Tag Count");

$badge->addItem("info", ($result->field_meta_tag_count->value ?? "-"), "Meta Tag Count");

$dup_id_c = $result->field_duplicate_ids->value ?? "-";
if ($dup_id_c > 0) {
Expand Down

0 comments on commit 09dc388

Please sign in to comment.