From 0cba9671aab2a9e5e8cfb38d54fa48cb55ec702f Mon Sep 17 00:00:00 2001 From: Connor Tumbleson Date: Tue, 1 Apr 2014 08:16:25 -0500 Subject: fixes warnings --- user_guide_src/source/libraries/form_validation.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user_guide_src') diff --git a/user_guide_src/source/libraries/form_validation.rst b/user_guide_src/source/libraries/form_validation.rst index e51630905..2ae56d29a 100644 --- a/user_guide_src/source/libraries/form_validation.rst +++ b/user_guide_src/source/libraries/form_validation.rst @@ -497,7 +497,7 @@ The above code would use the ``valid_username()`` method from your This is just an example of course, and callbacks aren't limited to models. You can use any object/method that accepts the field value as its' first parameter. Or if you're running PHP 5.3+, you can also use an anonymous -function: +function:: $this->form_validation->set_rules( 'username', 'Username', -- cgit v1.2.3-24-g4f1b