New attempt to fix images in plugins/themes (fix)

This commit is contained in:
Matias Griese
2021-09-29 20:58:42 +03:00
parent 610aaa1d4a
commit bef26581cd

View File

@@ -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();
}