mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 23:45:10 +00:00
Various fixes. Sorry, lazy day.
This commit is contained in:
@@ -70,7 +70,6 @@ class TagFactory
|
||||
'longitude' => $longitude,
|
||||
'zoomLevel' => $zoomLevel,
|
||||
];
|
||||
|
||||
return Tag::create($array);
|
||||
}
|
||||
|
||||
@@ -85,7 +84,7 @@ class TagFactory
|
||||
|
||||
/** @var Tag $dbTag */
|
||||
$dbTag = $this->user->tags()->where('tag', $tag)->first();
|
||||
if (null !== $tag) {
|
||||
if (null !== $dbTag) {
|
||||
return $dbTag;
|
||||
}
|
||||
$newTag = $this->create(
|
||||
|
Reference in New Issue
Block a user