diff --git a/CHANGELOG.md b/CHANGELOG.md index ba9d811a8..502823922 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -43,6 +43,8 @@ [#350](https://github.com/nextcloud/cookbook/pull/350) @maxammann - Make complete sentence in transifex translation from parts [#358](https://github.com/nextcloud/cookbook/pull/358) @christianlupus +- Avoid recipe are no longer reachable when user changes locales + [#371](https://github.com/nextcloud/cookbook/pull/371) @christianlupus ### Removed - Travis build system diff --git a/lib/Service/RecipeService.php b/lib/Service/RecipeService.php index cd74c4505..90c73567e 100755 --- a/lib/Service/RecipeService.php +++ b/lib/Service/RecipeService.php @@ -954,6 +954,7 @@ public function getUserFolderPath() if (!$path) { $path = '/' . $this->il10n->t('Recipes'); + $this->config->setUserValue($this->user_id, 'cookbook', 'folder', $path); } return $path;