summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2014-04-11 18:03:07 +0200
committerMichael Tänzer <neo@nhng.de>2014-04-11 18:03:07 +0200
commit255dd8fa9169bef6284110b0d546cd336ce54687 (patch)
tree5ec70df0f6fb7d895c253e32fdf998629b15d347
parentbf0cbaf8c06acac73cd525d692b61ed1ac4cac47 (diff)
downloadcacert-devel-255dd8fa9169bef6284110b0d546cd336ce54687.tar.gz
cacert-devel-255dd8fa9169bef6284110b0d546cd336ce54687.tar.xz
cacert-devel-255dd8fa9169bef6284110b0d546cd336ce54687.zip
bug 1138: Remove double escaping
Signed-off-by: Michael Tänzer <neo@nhng.de>
-rw-r--r--includes/account.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/account.php b/includes/account.php
index 44a0cb8..a718f6f 100644
--- a/includes/account.php
+++ b/includes/account.php
@@ -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);
}