Skip to content

Commit

Permalink
FIX Call property directly to prevent infinite recursion
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Jan 15, 2025
1 parent 741486c commit e9bbe3d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Forms/TextCheckboxGroupField.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ public function getMessageType()

public function getMessageCast()
{
$message = parent::getMessage();
if ($message) {
if ($this->message) {
return parent::getMessageCast();
}
foreach ($this->getChildren() as $field) {
Expand Down

0 comments on commit e9bbe3d

Please sign in to comment.