Fixed a ORM thing.

This commit is contained in:
James Cole 2014-11-26 17:20:32 +01:00
parent d5bffc8ed7
commit ad53832766

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');
}
/**