parent
a55fbb5bd9
commit
e0f0b241ae
|
@ -1110,7 +1110,13 @@ class Layout extends \gp\admin\Addon\Install{
|
|||
$success = false;
|
||||
}
|
||||
|
||||
$this->SaveLayouts();
|
||||
if (!empty($_POST['default'])){
|
||||
$this->SaveLayouts(false);
|
||||
$this->curr_layout = $layout_id;
|
||||
$this->MakeDefault();
|
||||
}else{
|
||||
$this->SaveLayouts();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue