mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-11 16:35:38 +00:00
do not send mail if receiver mail address is ''
This commit is contained in:
parent
79ed5b94ae
commit
83d54c3a36
|
@ -97,6 +97,9 @@ class SeedDMS_EmailNotify extends SeedDMS_Notify {
|
|||
return false;
|
||||
}
|
||||
|
||||
if(!$to)
|
||||
return false;
|
||||
|
||||
$returnpath = $this->from_address;
|
||||
if(is_object($sender) && !strcasecmp(get_class($sender), $this->_dms->getClassname('user'))) {
|
||||
$from = $sender->getFullName() ." <". $sender->getEmail() .">";
|
||||
|
|
Loading…
Reference in New Issue
Block a user