Skip to content

Commit

Permalink
Made sure the cc variable is set on php/karnaf-scripts/fetch-emails.php.
Browse files Browse the repository at this point in the history
  • Loading branch information
kobishmueli committed Oct 6, 2016
1 parent cd6107f commit 109412d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Karnaf v5.0.17
- Changed edit.php to save the previous and new status names on the "Status changed" action.
- Added priority to statuses in order to control the status list order.
- Changed php/karnaf/new.php to automatically get the user's full name.
- Made sure the cc variable is set on php/karnaf-scripts/fetch-emails.php.

Karnaf v5.0.16
- Let opers choose the assigned group for new tickets they open.
Expand Down
3 changes: 2 additions & 1 deletion php/karnaf-scripts/fetch-emails.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ function karnaf_email($mail_to, $mail_subject, $mail_body) {
$uname = "";
$reply_to = "";
$to = $header_info->toaddress;
$cc = $header_info->ccaddress;
if(isset($header_info->ccaddress)) $cc = $header_info->ccaddress;
else $cc = "";
$tid = 0;
$debug_body = "";
$debug_only = 0;
Expand Down

0 comments on commit 109412d

Please sign in to comment.