fixed escaping

This commit is contained in:
Roland Gruber 2008-01-08 18:28:43 +00:00
parent 4b8131cf6b
commit 524db4cd4b
1 changed files with 1 additions and 1 deletions

View File

@ -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();