Skip to content

Commit

Permalink
Merge branch 'release/1.10.23'
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed Sep 29, 2021
2 parents effa196 + f55cc15 commit 515e5cd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
1. [](#new)
* Updated SCSS compiler to v1.8
2. [](#improved)
* Updated with latest langugage strings from Crowdin.com
* Updated with latest language strings from Crowdin.com
3. [](#bugfix)
* Fixed images from plugins/themes disappearing when saving twice

Expand Down
8 changes: 7 additions & 1 deletion classes/plugin/AdminController.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,13 @@ public function taskSave()
// Not used if Flex-Objects plugin handles users.
return $this->saveUser();
default:
return $this->saveDefault();
if ($this->saveDefault()) {
$route = $this->grav['uri']::getCurrentRoute();
$this->setRedirect($route->withGravParam('task', null)->toString(), 302);
$this->redirect();
}

return false;
}
}

Expand Down

0 comments on commit 515e5cd

Please sign in to comment.