From acaaa7ee64b5ed9c65659ccf85828041a04a4a49 Mon Sep 17 00:00:00 2001 From: "mariano.iglesias" Date: Tue, 25 Nov 2008 13:05:57 +0000 Subject: [PATCH] Resetting error on Validation (patch from francky06l), fixes #5797 git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7890 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/libs/validation.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cake/libs/validation.php b/cake/libs/validation.php index e810eae44..2b0b564e3 100644 --- a/cake/libs/validation.php +++ b/cake/libs/validation.php @@ -921,6 +921,8 @@ class Validation extends Object { $this->country = null; $this->deep = null; $this->type = null; + $this->error = array(); + $this->errors = array(); } } ?> \ No newline at end of file