Fixed a ORM thing.

This commit is contained in:
James Cole committed 2014-11-26 17:20:32 +01:00
1 parent d5bffc8ed7
commit ad53832766
1 file changed
+1 -1
+1 -1
View File
@@ -26,7 +26,7 @@ class Budget extends Component
public function limitrepetitions()
{
return $this->hasManyThrough('LimitRepetition', 'Limit');
return $this->hasManyThrough('LimitRepetition', 'Limit','component_id');
}
/**