mirror of
https://github.com/friendica/friendica
synced 2025-04-28 17:04:23 +02:00
fix boolean field
This commit is contained in:
parent
2b8f067715
commit
4efba4d0cf
3 changed files with 6 additions and 6 deletions
|
@ -91,9 +91,9 @@ class EMail implements IEmail
|
|||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function getMessage(bool $text = false)
|
||||
public function getMessage(bool $plain = false)
|
||||
{
|
||||
if ($text) {
|
||||
if ($plain) {
|
||||
return $this->msgText;
|
||||
} else {
|
||||
return $this->msgHtml;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue