Changeset 7669 for trunk/workflow
- Timestamp:
- 12/18/12 13:54:38 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/workflow/inc/local/classes/class.wf_mail.php
r3167 r7669 117 117 * @access public 118 118 */ 119 function quickSend($from, $to, $subject, $body )119 function quickSend($from, $to, $subject, $body, $fromName = '') 120 120 { 121 121 /* limpa possíveis erros (para que outras chamadas ao método não influenciem a chamada atual) */ … … 126 126 return false; 127 127 128 if (empty($fromName)) 129 $fromName = $GLOBALS['workflow']['wf_runtime']->process->getName(); 130 128 131 /* preenche as informações para envio */ 129 $this->FromName = $ GLOBALS['workflow']['wf_runtime']->process->getName();132 $this->FromName = $fromName; 130 133 $this->From = $from; 131 134 $this->AddReplyTo($from);
Note: See TracChangeset
for help on using the changeset viewer.