mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 09:19:01 +00:00
fixed some nasty errors + made it show the entire replied message
--HG-- branch : quitta-gsoc-2013
This commit is contained in:
parent
ba2c506120
commit
f8d19762fe
2 changed files with 5 additions and 5 deletions
|
@ -231,7 +231,7 @@ class Mail_Handler{
|
|||
if($ticket_id){
|
||||
|
||||
//use the line ---------- Ticket # to make a distincton between the old message and the reply
|
||||
$endpos = strpos($txt, ">---------- Ticket #");
|
||||
/*$endpos = strpos($txt, ">---------- Ticket #");
|
||||
if($endpos){
|
||||
$txt = substr($txt, 0, $endpos);
|
||||
}else{
|
||||
|
@ -239,7 +239,7 @@ class Mail_Handler{
|
|||
if($endpos){
|
||||
$txt = substr($txt, 0, $endpos);
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
//if email is sent from an existing email address in the db (else it will give an error while loading the user object)
|
||||
if($from != "FALSE"){
|
||||
|
|
|
@ -103,7 +103,7 @@ class Ticket{
|
|||
Ticket::forwardTicket(0, $ticket_id, $for_support_group);
|
||||
}
|
||||
|
||||
Mail_Handler::send_ticketing_mail($ticket, $content, "NEW", $real_author, $ticket->getForwardedGroupId());
|
||||
Mail_Handler::send_ticketing_mail($ticket, $content, "NEW", $ticket->getForwardedGroupId());
|
||||
return $ticket_id;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue