kla/php-activerecord — pull request #229 by jeffdupont (2012-09-20 23:25:50+00:00)
Title: fixed the many-to-many through association when using 'include'

Found this to be a BIG issue when you called a model that has a many-to-many association that references a 'through' linking table. Most of the time, you would probably get an empty array when you looked at the returned object.

This update properly sets the through association so you have the included models you would expect to find.