Skip to content
Browse files

Oops, took out one function too many

  • Loading branch information...
1 parent 3e9aed7 commit 5d9b9209f07371327f1797652927298065989506 @dchill42 committed Aug 31, 2011
Showing with 15 additions and 0 deletions.
  1. +15 −0 system/libraries/Form_validation.php
View
15 system/libraries/Form_validation.php
@@ -271,6 +271,21 @@ public function error_string($prefix = '', $suffix = '')
// --------------------------------------------------------------------
/**
+ * Error Array
+ *
+ * Returns the error messages as an array
+ *
+ * @access public
+ * @return array
+ */
+ public function error_array()
+ {
+ return $this->_error_array;
+ }
+
+ // --------------------------------------------------------------------
+
+ /**
* Run the Validator
*
* This function does all the work.

0 comments on commit 5d9b920

Please sign in to comment.
Something went wrong with that request. Please try again.