mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Code cleanup before release.
This commit is contained in:
@@ -154,8 +154,8 @@ class TransactionUpdateService
|
||||
*/
|
||||
public function updateCategory(Transaction $transaction, string $category): Transaction
|
||||
{
|
||||
$category = $this->findCategory(0, $category);
|
||||
$this->setCategory($transaction, $category);
|
||||
$found = $this->findCategory(0, $category);
|
||||
$this->setCategory($transaction, $found);
|
||||
|
||||
return $transaction;
|
||||
}
|
||||
|
Reference in New Issue
Block a user