mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-20 15:09:38 +00:00
Updated method of string interpolation
In prep for future PHP changes as per RFC https://wiki.php.net/rfc/deprecate_dollar_brace_string_interpolation
This commit is contained in:
parent
93ef8c97b6
commit
dbefda055f
2 changed files with 2 additions and 2 deletions
app/Http/Controllers
|
@ -83,7 +83,7 @@ class SettingController extends Controller
|
|||
$this->logActivity(ActivityType::SETTINGS_UPDATE, $category);
|
||||
$this->showSuccessNotification(trans('settings.settings_save_success'));
|
||||
|
||||
return redirect("/settings/${category}");
|
||||
return redirect("/settings/{$category}");
|
||||
}
|
||||
|
||||
protected function ensureCategoryExists(string $category): void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue