summaryrefslogtreecommitdiffstats
path: root/user_guide_src
diff options
context:
space:
mode:
authorConnor Tumbleson <connor.tumbleson@gmail.com>2014-04-01 15:16:25 +0200
committerConnor Tumbleson <connor.tumbleson@gmail.com>2014-04-01 15:16:25 +0200
commit0cba9671aab2a9e5e8cfb38d54fa48cb55ec702f (patch)
tree057d9840fb452bf317d285dd42d71ca071919bcc /user_guide_src
parent46e216c2be69f0819d97f6bead167f28714e9d70 (diff)
fixes warnings
Diffstat (limited to 'user_guide_src')
-rw-r--r--user_guide_src/source/libraries/form_validation.rst2
1 files changed, 1 insertions, 1 deletions
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',