cakephp/cakephp — pull request #2821 by markstory (2014-02-12 02:02:01+00:00)
Title: Fix EntityContext operations on collections.

There were a few cases where EntityContext would hit a fatal error when dealing with collections/arrays. This fixes that and also introduces a minor optimization for array properties.