We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7bb4417 commit 476c834Copy full SHA for 476c834
1 file changed
core/class/mail.class.php
@@ -56,8 +56,10 @@ class mailCmd extends cmd {
56
/* * *********************Methode d'instance************************* */
57
58
public function preSave() {
59
- if ($this->getLogicalId() == 'send_to_custom_email') return;
60
-
+ if ($this->getLogicalId() == 'send_to_custom_email'){
+ $this->setConfiguration('recipient','');
61
+ return;
62
+ }
63
$this->setType('action');
64
$this->setSubType('message');
65
if ($this->getConfiguration('recipient') == '') {
0 commit comments