|
File patch.2.txt, 0.6 kB
(added by sci2tech, 6 months ago)
|
to also remove > ... you can use this one
|
| 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) { |
|---|
|
Download in other formats:
#########################################################################
# Site footer - Contents are automatically inserted after main Trac HTML
?>