Bugfix [ 822324 ]: From field not working in DataForm when mailing to group
This commit is contained in:
parent
0f2906fd46
commit
f846f2b802
2 changed files with 14 additions and 8 deletions
|
|
@ -299,7 +299,7 @@ sub sendEmail {
|
|||
unless ($userId || $groupId) {
|
||||
WebGUI::ErrorHandler::warn($_[0]->get("wobjectId").": Unable to send message, no user or group found.");
|
||||
} else {
|
||||
WebGUI::MessageLog::addEntry($userId, $groupId, $subject, $message);
|
||||
WebGUI::MessageLog::addEntry($userId, $groupId, $subject, $message, "", "", $from);
|
||||
if ($cc) {
|
||||
WebGUI::Mail::send($cc, $subject, $message, "", $from);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue