Commit 4a72cdd360490d9bcb5840c12bf95b98b7302630

Authored by mukhtar
1 parent 88b6367d

updated to stripslashes from subject


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@680 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 2 additions and 2 deletions
lib/email/Email.inc
... ... @@ -45,7 +45,7 @@ Class Email {
45 45 $emailHyperlink->From = $FromEmail;
46 46 $emailHyperlink->FromName = $FromName;
47 47 $emailHyperlink->AddAddress($ToEmail);
48   - $emailHyperlink->Subject = $Subj;
  48 + $emailHyperlink->Subject = stripslashes($Subj);
49 49 $emailHyperlink->Body = stripslashes($EmailBody) . ' ' . $hyperlink;
50 50 $emailHyperlink->WordWrap = 100;
51 51 $emailHyperlink->IsHTML(true);
... ... @@ -87,7 +87,7 @@ Class Email {
87 87 $emailHyperlink->From = $FromEmail;
88 88 $emailHyperlink->FromName = $FromName;
89 89 $emailHyperlink->AddAddress($ToEmail);
90   - $emailHyperlink->Subject = $Subj . ' ' . $hyperlink; //only difference from above
  90 + $emailHyperlink->Subject = stripslashes($Subj) . ' ' . $hyperlink; //only difference from above
91 91 $emailHyperlink->Body = stripslashes($EmailBody) . " <br>This bug can be found on this page: " . "<a href = ". $hyperlink .">". $hyperlink ."</a>";
92 92 $emailHyperlink->WordWrap = 80;
93 93 $emailHyperlink->IsHTML(true);
... ...