mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-29 18:20:01 +00:00
Possible solution for #1353
This commit is contained in:
@@ -139,10 +139,10 @@ class Preferences
|
||||
} catch (Exception $e) {
|
||||
Log::debug(sprintf('Could not delete preference #%d', $preference->id));
|
||||
}
|
||||
$preference = false;
|
||||
$preference = null;
|
||||
}
|
||||
|
||||
if ($preference) {
|
||||
if (null !== $preference) {
|
||||
Cache::forever($fullName, $preference);
|
||||
|
||||
return $preference;
|
||||
|
Reference in New Issue
Block a user