Ticket #1340: patch.3.txt

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

to also remove > ... you can use this one. sory for patch2 witch is identical with patch.txt

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 02:17:28.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) {