Skip to content

Commit

Permalink
fixed: return correct value type
Browse files Browse the repository at this point in the history
  • Loading branch information
jeabakker committed Oct 17, 2024
1 parent fe2c86a commit e769209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/ColdTrick/ProfileManager/CustomProfileField.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@ public function getDisplayName(bool $input = false, string $lang = null): string
return elgg_echo("profile:{$this->metadata_name}", [], $lang);
}

return $this->metadata_name;
return (string) $this->metadata_name;
}
}

0 comments on commit e769209

Please sign in to comment.