mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-10-29 01:06:38 +01:00
New attempt to fix images in plugins/themes (fix)
This commit is contained in:
@@ -167,7 +167,7 @@ class AdminController extends AdminBaseController
|
||||
default:
|
||||
if ($this->saveDefault()) {
|
||||
$route = $this->grav['uri']::getCurrentRoute();
|
||||
$this->setRedirect($route->withoutGravParam('task')->toString(), 302);
|
||||
$this->setRedirect($route->withGravParam('task', null)->toString(), 302);
|
||||
$this->redirect();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user