cakephp/cakephp — pull request #5206 by markstory (2014-11-19 04:04:04+00:00)
Title: Issue 5190 pt1

Fix an annoying issue where notEmpty() callbacks would cause fatal errors as the entity would be the incorrect type.

Refs #5190