mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-20 08:30:06 +00:00
Various code cleanup.
This commit is contained in:
@@ -275,6 +275,9 @@ class Preferences
|
||||
if (null === $value) {
|
||||
return new Preference;
|
||||
}
|
||||
if(null === $pref) {
|
||||
$pref = new Preference;
|
||||
}
|
||||
$pref->data = $value;
|
||||
$pref->save();
|
||||
Cache::forever($fullName, $pref);
|
||||
|
||||
Reference in New Issue
Block a user