Skip to content

Commit

Permalink
Add email from transaction issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilya Shapkin committed Oct 8, 2016
1 parent 2b05ed8 commit 7cbafb2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ishapkin/sendsay/sendsay.php
Original file line number Diff line number Diff line change
Expand Up @@ -1064,7 +1064,7 @@ public function issue_draft_delete($ids)
*
* @return array
*/
public function issue_send($group, $from, $sender='', $subject='', $text='', $sendwhen='now', $laterTime = null, $users_list=NULL, $relink=array(), $format='html')
public function issue_send($group, $from, $sender='', $subject='', $text='', $sendwhen='now', $laterTime = null, $email = null, $users_list=NULL, $relink=array(), $format='html')
{

$params = array(
Expand All @@ -1079,7 +1079,8 @@ public function issue_send($group, $from, $sender='', $subject='', $text='', $se
),
'sendwhen' => $sendwhen,
'relink' => is_null($relink) ? 0 : 1,
'relink.param' => is_null($relink) ? array() : array_merge(array('link' => 1, 'image' => 0, 'test' => 1), $relink)
'relink.param' => is_null($relink) ? array() : array_merge(array('link' => 1, 'image' => 0, 'test' => 1), $relink),
'email' => $email
);

if($sendwhen == 'later') {
Expand Down

0 comments on commit 7cbafb2

Please sign in to comment.