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 ($post['createagain']) {
|
||||
// Reset objects
|
||||
$modules = array_keys($this->module);
|
||||
foreach ($modules as $module) unset($this->module[$module]);
|
||||
// Reset accountContainer
|
||||
$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;
|
||||
// open fresh account page
|
||||
unset($_SESSION[$this->base]);
|
||||
metaRefresh("edit.php?type=" . $this->type);
|
||||
exit();
|
||||
}
|
||||
if ($post['backmain']) {
|
||||
// Return to account list
|
||||
|
|
Loading…
Reference in New Issue