mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 23:45:10 +00:00
Lots of new code to test the import routine.
Signed-off-by: James Cole <thegrumpydictator@gmail.com>
This commit is contained in:
@@ -94,7 +94,7 @@ class BudgetRepository implements BudgetRepositoryInterface
|
||||
*/
|
||||
public function findByName(string $name): Budget
|
||||
{
|
||||
$budgets = $this->user->budgets()->get();
|
||||
$budgets = $this->user->budgets()->get(['budgets.*']);
|
||||
/** @var Budget $budget */
|
||||
foreach ($budgets as $budget) {
|
||||
if ($budget->name === $name) {
|
||||
|
Reference in New Issue
Block a user