Fix incorrect validator object checking.
Fix incorrect validator object checking.

garethellis36/cakephp,mvdriel/cakephp,CakeDC/cakephp,petteyg/cakephp,petteyg/cakephp,cakephp/cakephp,tenkoma/cakephp,davidyell/cakephp,ADmad/cakephp,ADmad/cakephp,cakephp/cakephp,ndm2/cakephp,tenkoma/cakephp,CakeDC/cakephp,CakeDC/cakephp,dakota/cakephp,petteyg/cakephp,garethellis36/cakephp,ndm2/cakephp,cakephp/cakephp,garethellis36/cakephp,mvdriel/cakephp,dakota/cakephp,mvdriel/cakephp,davidyell/cakephp,ndm2/cakephp,mvdriel/cakephp,petteyg/cakephp,ADmad/cakephp,ndm2/cakephp,tenkoma/cakephp,ADmad/cakephp,cakephp/cakephp,tenkoma/cakephp,dakota/cakephp,davidyell/cakephp,dakota/cakephp,garethellis36/cakephp,CakeDC/cakephp