diff --git a/lam/lib/lists.inc b/lam/lib/lists.inc index 6bd88f03..1b340550 100644 --- a/lam/lib/lists.inc +++ b/lam/lib/lists.inc @@ -622,7 +622,7 @@ class lamList { } // add new account if (isset($_POST['new']) && checkIfNewEntriesAreAllowed($this->type->getId())){ - metaRefresh("../account/edit.php?type=" . $this->type->getId() . "&suffix=" . $this->suffix); + metaRefresh("../account/edit.php?type=" . $this->type->getId() . "&suffix=" . $this->suffix); exit; } // delete account(s) diff --git a/lam/lib/modules.inc b/lam/lib/modules.inc index 0afbadff..b627dbae 100644 --- a/lam/lib/modules.inc +++ b/lam/lib/modules.inc @@ -849,7 +849,7 @@ class accountContainer { */ function continue_main() { if (!empty($_POST['account_randomID']) && ($this->randomID != $_POST['account_randomID'])) { - metaRefresh("../lists/list.php?type=" . $this->type->getId() . '&accountEditInvalidID=true'); + metaRefresh("../lists/list.php?type=" . $this->type->getId() . '&accountEditInvalidID=true'); exit(); } $oldPage = $this->current_page; @@ -880,26 +880,26 @@ class accountContainer { if (isset($_POST['accountContainerCreateAgain'])) { // open fresh account page unset($_SESSION[$this->base]); - metaRefresh("edit.php?type=" . $this->type->getId() . "&suffix=" . $this->dnSuffix); + metaRefresh("edit.php?type=" . $this->type->getId() . "&suffix=" . $this->dnSuffix); exit(); } // reedit account if (isset($_POST['accountContainerBackToEdit'])) { // open fresh account page unset($_SESSION[$this->base]); - metaRefresh("edit.php?type=" . $this->type->getId() . "&DN=" . urlencode($this->finalDN)); + metaRefresh("edit.php?type=" . $this->type->getId() . "&DN=" . urlencode($this->finalDN)); exit(); } // back to account list if (isset($_POST['accountContainerBackToList'])) { // Return to account list unset($_SESSION[$this->base]); - metaRefresh("../lists/list.php?type=" . $this->type->getId() . '&accountEditBack=true'); + metaRefresh("../lists/list.php?type=" . $this->type->getId() . '&accountEditBack=true'); exit; } // create PDF file if (isset($_POST['accountContainerCreatePDF'])) { - metaRefresh('../lists/list.php?printPDF=1&type=' . $this->type->getId() . "&refresh=true&PDFSessionID=" . $this->base); + metaRefresh('../lists/list.php?printPDF=1&type=' . $this->type->getId() . "&refresh=true&PDFSessionID=" . $this->base); exit; } // module actions diff --git a/lam/templates/config/confsave.php b/lam/templates/config/confsave.php index 85d2eb75..0a437613 100644 --- a/lam/templates/config/confsave.php +++ b/lam/templates/config/confsave.php @@ -88,10 +88,10 @@ for ($i = 0; $i < sizeof($sessionKeys); $i++) { } if ($result === LAMConfig::SAVE_OK) { - metaRefresh('../login.php?configSaveOk=1&configSaveFile=' . $conf->getName()); + metaRefresh('../login.php?configSaveOk=1&configSaveFile=' . $conf->getName()); } else { - metaRefresh('../login.php?configSaveFailed=1&configSaveFile=' . $conf->getName()); + metaRefresh('../login.php?configSaveFailed=1&configSaveFile=' . $conf->getName()); } ?> \ No newline at end of file diff --git a/lam/templates/lists/userlink.php b/lam/templates/lists/userlink.php index 0941768d..f7c8e86e 100644 --- a/lam/templates/lists/userlink.php +++ b/lam/templates/lists/userlink.php @@ -55,7 +55,7 @@ $dn = search_username($user); if ($dn) { // redirect to account/edit.php - metaRefresh("../account/edit.php?type=user&DN='" . rawurlencode($dn) . "'"); + metaRefresh("../account/edit.php?type=user&DN='" . rawurlencode($dn) . "'"); } else {