projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14fc880
)
PHP8
author
Alan
<alan@roojs.com>
Fri, 12 Jan 2024 05:30:46 +0000
(13:30 +0800)
committer
Alan
<alan@roojs.com>
Fri, 12 Jan 2024 05:30:46 +0000
(13:30 +0800)
DataObjects/Core_email.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_email.php
b/DataObjects/Core_email.php
index
1b08773
..
02ce342
100644
(file)
--- a/
DataObjects/Core_email.php
+++ b/
DataObjects/Core_email.php
@@
-294,7
+294,7
@@
class Pman_Core_DataObjects_Core_email extends DB_DataObject
$html->item(0)->appendChild($element);
}
- $this->plaintext = str_replace("{unsubscribe_link}", $unsubscribe, $this->plaintext);
+ $this->plaintext = str_replace("{unsubscribe_link}", $unsubscribe,
empty($this->plaintext) ? '' :
$this->plaintext);
}