mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Fix redirect to invalid page after layout reset
This commit is contained in:
parent
3a94245443
commit
5daa6636a6
1 changed files with 5 additions and 1 deletions
|
|
@ -351,7 +351,11 @@ class LayoutAdminController extends Layout
|
|||
|
||||
$this->initLayout($layout_srl, $info->layout);
|
||||
$this->setMessage('success_reset');
|
||||
$this->setRedirectUrl(Context::get('error_return_url'));
|
||||
$this->setRedirectUrl(getNotEncodedUrl([
|
||||
'module' => 'admin',
|
||||
'act' => 'dispLayoutAdminAllInstanceList',
|
||||
'type' => starts_with('./m.layouts/', $info->path) ? 'M' : '',
|
||||
]));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue