Skip to content

Commit

Permalink
ENH Pass invalid value to ValidationResult
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Jan 16, 2025
1 parent 70089c4 commit b63c79c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/Model/SiteTree.php
Original file line number Diff line number Diff line change
Expand Up @@ -1612,7 +1612,8 @@ public function validate(): ValidationResult
_t(
'SilverStripe\\CMS\\Model\\SiteTree.InvalidExtraMeta',
'Custom Meta Tags does not contain valid HTML',
)
),
value: $this->ExtraMeta,
);
}

Expand Down

0 comments on commit b63c79c

Please sign in to comment.