From 524db4cd4b9d3f022dedbfab99e67a1edd3673a2 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Tue, 8 Jan 2008 18:28:43 +0000 Subject: [PATCH] fixed escaping --- lam/templates/account/edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lam/templates/account/edit.php b/lam/templates/account/edit.php index cab13b16..7d7f86b0 100644 --- a/lam/templates/account/edit.php +++ b/lam/templates/account/edit.php @@ -78,7 +78,7 @@ if (isset($_GET['DN'])) { } // new account else if (count($_POST)==0) { - $type = str_replace("\'", '', $_GET['type']); + $type = str_replace("\\'", '', $_GET['type']); if ($_GET['type'] == $type) $type = str_replace("'", '',$_GET['type']); $_SESSION['account'] = new accountContainer($type, 'account'); $_SESSION['account']->new_account();