cakephp/cakephp — pull request #1060 by tiaguinho (2013-01-07 03:14:12+00:00)
Title: getAssociated error

Check if the object have the method getAssociated before trying use this method.