fixed edit link error
This commit is contained in:
parent
3fe4fdfc7e
commit
9534e3549e
|
@ -39,6 +39,8 @@ if (($_GET['action'] == "edit") || ($_GET['action'] == "new")) {
|
||||||
// get possible suffixes
|
// get possible suffixes
|
||||||
$domsuff = $_SESSION['ldap']->search_units($_SESSION['config']->get_domainSuffix());
|
$domsuff = $_SESSION['ldap']->search_units($_SESSION['config']->get_domainSuffix());
|
||||||
if ($_GET['action'] == "edit") {
|
if ($_GET['action'] == "edit") {
|
||||||
|
// remove "\'"
|
||||||
|
$_GET['DN'] = str_replace("\\'", "", $_GET['DN']);
|
||||||
// load attributes from domain
|
// load attributes from domain
|
||||||
for ($i = 0; $i < sizeof($domlist); $i++) {
|
for ($i = 0; $i < sizeof($domlist); $i++) {
|
||||||
if ($domlist[$i]->dn == $_GET['DN']) {
|
if ($domlist[$i]->dn == $_GET['DN']) {
|
||||||
|
|
Loading…
Reference in New Issue