Fix rule booboo

This commit is contained in:
James Cole
2022-10-08 05:57:12 +02:00
parent f1457fcda6
commit da71d6172c
2 changed files with 2 additions and 1 deletions

View File

@@ -7,6 +7,7 @@ APP_DEBUG=false
# This should be your email address.
# If you use Docker or similar, you can set this variable from a file by using SITE_OWNER_FILE
# The variable is used in some errors shown to users who aren't admin.
SITE_OWNER=mail@example.com
# The encryption key for your sessions. Keep this very secure.

View File

@@ -190,7 +190,7 @@ class EditController extends Controller
{
$data = $request->getRuleData();
//$this->ruleRepos->update($rule, $data);
$this->ruleRepos->update($rule, $data);
session()->flash('success', (string) trans('firefly.updated_rule', ['title' => $rule->title]));
app('preferences')->mark();