Don't try to save form for "None" backend.
This commit is contained in:
parent
3f03f3b4b7
commit
204c5a4d99
|
@ -1176,6 +1176,7 @@ function admin_page_site_post(App $a)
|
|||
StorageManager::setBackend($storagebackend);
|
||||
|
||||
// save storage backend form
|
||||
if (!is_null($storagebackend) && $storagebackend != "") {
|
||||
$storage_opts = $storagebackend::getOptions();
|
||||
$storage_form_prefix=preg_replace('|[^a-zA-Z0-9]|' ,'', $storagebackend);
|
||||
$storage_opts_data = [];
|
||||
|
@ -1201,7 +1202,7 @@ function admin_page_site_post(App $a)
|
|||
}
|
||||
$a->internalRedirect('admin/site' . $active_panel);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user