bug 1138: Remove double escaping
authorMichael Tänzer <neo@nhng.de>
Fri, 11 Apr 2014 16:03:07 +0000 (18:03 +0200)
committerMichael Tänzer <neo@nhng.de>
Fri, 11 Apr 2014 16:03:07 +0000 (18:03 +0200)
Signed-off-by: Michael Tänzer <neo@nhng.de>
includes/account.php

index 44a0cb8..a718f6f 100644 (file)
@@ -2693,7 +2693,7 @@ function buildSubjectFromSession() {
        //check if ticket number was entered
        if ( $id == 43 || $oldid == 43 || $id == 44 || $oldid == 44 ) {
                if ($ticketno != "" ) {
-                       $ticketno = mysql_real_escape_string(trim($_REQUEST['ticketno']));
+                       $ticketno = trim($_REQUEST['ticketno']);
                        $ticketvalidation = valid_ticket_number($ticketno);
                }