summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source
diff options
context:
space:
mode:
Diffstat (limited to 'user_guide_src/source')
-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 2b7780ff2..aae9e3b89 100644
--- a/user_guide_src/source/libraries/form_validation.rst
+++ b/user_guide_src/source/libraries/form_validation.rst
@@ -519,7 +519,7 @@ the second element of an array, with the first one being the rule name::
'username', 'Username',
array(
'required',
- array('username_callable', array($this->users_model', 'valid_username'))
+ array('username_callable', array($this->users_model, 'valid_username'))
)
);