Skip to content

Firefly III: a personal finances manager

Fixed a ORM thing.

James Colead538327663a
diff --git a/app/models/Budget.php b/app/models/Budget.php
index 7d5afae06a..2101250670 100644
--- a/app/models/Budget.php
+++ b/app/models/Budget.php
@@ -26,7 +26,7 @@ class Budget extends Component
public function limitrepetitions()
{
- return $this->hasManyThrough('LimitRepetition', 'Limit');
+ return $this->hasManyThrough('LimitRepetition', 'Limit','component_id');
}
/**