- remove multiserver-stuff from trunk/

- allow admins with customer_see_all-flag to see their support-tickets too
- sanitize date-stuff in install.php
- fixed wrong usage of standard_error() in ticket::sendMail()
- fix issue with lighttpd server.bind when IP is IPv6
This commit is contained in:
Michael Kaufmann (d00p)
2010-11-03 06:36:22 +00:00
parent f81826fd9b
commit 5cd1c1284a
5 changed files with 12 additions and 39 deletions

View File

@@ -320,7 +320,7 @@ class ticket
if ($_mailerror) {
$rstlog = FroxlorLogger::getInstanceOf(array('loginname' => 'ticket_class'), $this->db, $this->settings);
$rstlog->logAction(ADM_ACTION, LOG_ERR, "Error sending mail: " . $mailerr_msg);
standard_error(array('errorsendingmail', $usr['email']));
standard_error('errorsendingmail', $usr['email']);
}
$mail->ClearAddresses();
@@ -348,7 +348,7 @@ class ticket
if ($_mailerror) {
$rstlog = FroxlorLogger::getInstanceOf(array('loginname' => 'ticket_class'), $this->db, $this->settings);
$rstlog->logAction(ADM_ACTION, LOG_ERR, "Error sending mail: " . $mailerr_msg);
standard_error(array('errorsendingmail', $admin['email']));
standard_error('errorsendingmail', $admin['email']);
}
$mail->ClearAddresses();