Ticket #1340: patch.txt

File patch.txt, 0.6 kB (added by sci2tech, 6 months ago)

patch for gui/include/admin-functions.php against r1204

Line 
1 --- admin-functions.php 2008-05-29 22:51:04.000000000 +0300
2 +++ /var/www/ispcp/gui/include/admin-functions.php      2008-06-08 01:57:00.000000000 +0300
3 @@ -2366,7 +2366,7 @@
4  
5         $mail_result = mail($to, encode($subject), $message, $headers);
6         $mail_status = ($mail_result) ? 'OK' : 'NOT OK';
7 -       write_log(sprintf("%s send ticket To: %s, From: %s, Status: %s!", $_SESSION['user_logged'], $to, $from, $mail_status));
8 +       write_log(sprintf("%s send ticket To: %s, From: %s, Status: %s!", $_SESSION['user_logged'], "\"" . $toname . "\" <" . $to_email . ">", "\"" . $fromname . "\" <" . $from_email . ">", $mail_status));
9  }
10  
11  function setConfig_Value($name, $value) {