fixed edit link error

This commit is contained in:
Roland Gruber 2003-08-10 13:55:38 +00:00
parent 3fe4fdfc7e
commit 9534e3549e
1 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,8 @@ if (($_GET['action'] == "edit") || ($_GET['action'] == "new")) {
// get possible suffixes
$domsuff = $_SESSION['ldap']->search_units($_SESSION['config']->get_domainSuffix());
if ($_GET['action'] == "edit") {
// remove "\'"
$_GET['DN'] = str_replace("\\'", "", $_GET['DN']);
// load attributes from domain
for ($i = 0; $i < sizeof($domlist); $i++) {
if ($domlist[$i]->dn == $_GET['DN']) {