mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-14 16:13:54 +00:00
Some code cleanup. Fixes the tests.
This commit is contained in:
@@ -286,7 +286,7 @@ class ExpandedForm
|
||||
|
||||
return $html;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @param $name
|
||||
|
@@ -111,9 +111,10 @@ class Preferences
|
||||
$user = Auth::user();
|
||||
if (is_null($user)) {
|
||||
// make new preference, return it:
|
||||
$pref = new Preference;
|
||||
$pref = new Preference;
|
||||
$pref->name = $name;
|
||||
$pref->data = $value;
|
||||
|
||||
return $pref;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user