mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Fix various code.
This commit is contained in:
@@ -149,10 +149,10 @@ class PopupReport implements PopupReportInterface
|
||||
->setRange($attributes['startDate'], $attributes['endDate'])->withAccountInformation()
|
||||
;
|
||||
|
||||
if (null !== $category) {
|
||||
if ($category instanceof Category) {
|
||||
$collector->setCategory($category);
|
||||
}
|
||||
if (null === $category) {
|
||||
if (!$category instanceof Category) {
|
||||
$collector->withoutCategory();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user