From 24a13f513f8352339647bf34b77d1eecae9d3b6e Mon Sep 17 00:00:00 2001 From: Eric Roberts Date: Wed, 12 Dec 2012 07:09:42 -0600 Subject: Format tweaks Signed-off-by: Eric Roberts --- system/libraries/Form_validation.php | 4 ++-- user_guide_src/source/libraries/form_validation.rst | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/system/libraries/Form_validation.php b/system/libraries/Form_validation.php index 19041bd95..ecd5b18df 100644 --- a/system/libraries/Form_validation.php +++ b/system/libraries/Form_validation.php @@ -819,7 +819,7 @@ class CI_Form_validation { protected function _build_error_msg($line, $field = '', $param = '') { // Check for %s in the string for legacy support. - if (strpos($line, '%s') !== false) + if (strpos($line, '%s') !== FALSE) { return sprintf($line, $field, $param); } @@ -1489,4 +1489,4 @@ class CI_Form_validation { } /* End of file Form_validation.php */ -/* Location: ./system/libraries/Form_validation.php */ +/* Location: ./system/libraries/Form_validation.php */ \ No newline at end of file diff --git a/user_guide_src/source/libraries/form_validation.rst b/user_guide_src/source/libraries/form_validation.rst index acf1e5619..a5348b2a2 100644 --- a/user_guide_src/source/libraries/form_validation.rst +++ b/user_guide_src/source/libraries/form_validation.rst @@ -1078,5 +1078,5 @@ This function is identical to the **set_checkbox()** function above. :: - /> - /> + /> + /> \ No newline at end of file -- cgit v1.2.3-24-g4f1b