code-igniter-v3-giggi: update release v1
diff --git a/system/helpers/form_helper.php b/system/helpers/form_helper.php
index 5910d8e..726f9aa 100644
--- a/system/helpers/form_helper.php
+++ b/system/helpers/form_helper.php
@@ -901,6 +901,32 @@
// ------------------------------------------------------------------------
+if ( ! function_exists('form_message'))
+{
+ /**
+ * Form Message
+ *
+ * Returns the message for a specific form field. This is a helper for the
+ * form validation class.
+ *
+ * @param string
+ * @param string
+ * @param string
+ * @return string
+ */
+ function form_message($field = '', $prefix = '', $suffix = '')
+ {
+ if (FALSE === ($OBJ =& _get_validation_object()))
+ {
+ return '';
+ }
+
+ return $OBJ->message($field, $prefix, $suffix);
+ }
+}
+
+// ------------------------------------------------------------------------
+
if ( ! function_exists('validation_errors'))
{
/**