Permalink
Browse files

Oops, took out one function too many

  • Loading branch information...
dchill42 committed Aug 31, 2011
1 parent 3e9aed7 commit 5d9b9209f07371327f1797652927298065989506
Showing with 15 additions and 0 deletions.
  1. +15 −0 system/libraries/Form_validation.php
@@ -270,6 +270,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
*

0 comments on commit 5d9b920

Please sign in to comment.