fixed creating of secondary accounts
This commit is contained in:
parent
f9a7b34d6d
commit
6ca099161c
|
@ -812,19 +812,10 @@ class accountContainer {
|
||||||
}
|
}
|
||||||
if ($this->subpage=='finish') {
|
if ($this->subpage=='finish') {
|
||||||
if ($post['createagain']) {
|
if ($post['createagain']) {
|
||||||
// Reset objects
|
// open fresh account page
|
||||||
$modules = array_keys($this->module);
|
unset($_SESSION[$this->base]);
|
||||||
foreach ($modules as $module) unset($this->module[$module]);
|
metaRefresh("edit.php?type=" . $this->type);
|
||||||
// Reset accountContainer
|
exit();
|
||||||
$this->dn = '';
|
|
||||||
$this->dn_orig = '';
|
|
||||||
$this->attributes = array();
|
|
||||||
$this->order = array();
|
|
||||||
$this->current_page = 0;
|
|
||||||
$this->subpage = '';
|
|
||||||
// Add all required objects etc.
|
|
||||||
$this->new_account();
|
|
||||||
$result = 0;
|
|
||||||
}
|
}
|
||||||
if ($post['backmain']) {
|
if ($post['backmain']) {
|
||||||
// Return to account list
|
// Return to account list
|
||||||
|
|
Loading…
Reference in New Issue