From 9f04fef3e046d7b4778ddf449589c9b1a3a67857 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Mon, 30 Mar 2009 18:09:17 +0000 Subject: Updated to r807 --- kohana/libraries/Validation.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kohana/libraries/Validation.php') diff --git a/kohana/libraries/Validation.php b/kohana/libraries/Validation.php index 473425db..e2c8ff17 100644 --- a/kohana/libraries/Validation.php +++ b/kohana/libraries/Validation.php @@ -108,12 +108,12 @@ class Validation_Core extends ArrayObject { public function field_names() { // All the fields that are being validated - $fields = array_unique(array_merge + $fields = array_keys(array_merge ( - array_keys($this->pre_filters), - array_keys($this->rules), - array_keys($this->callbacks), - array_keys($this->post_filters) + $this->pre_filters, + $this->rules, + $this->callbacks, + $this->post_filters )); // Remove wildcard fields -- cgit v1.2.3