cakephp/cakephp — pull request #1514 by CodeCommander (2013-08-12 21:52:58+00:00)
Title: Support DboSource expressions as data values in Model saveAssociated

Check if $values is an object (before assuming it is an array) in saveAssociated. Objects are treated as "not empty" so that we can support DboSource expresssions as described in ticket #3978