diff options
author | Eric Roberts <eric@cryode.com> | 2012-12-12 14:09:42 +0100 |
---|---|---|
committer | Eric Roberts <eric@cryode.com> | 2012-12-12 14:09:42 +0100 |
commit | 24a13f513f8352339647bf34b77d1eecae9d3b6e (patch) | |
tree | ff16d6a8a262c9e65e6daf6b5ed04a2b1145f88c | |
parent | b9e35f21e1c70b6aa67c47e9244ed83195abc00a (diff) |
Format tweaks
Signed-off-by: Eric Roberts <eric@cryode.com>
-rw-r--r-- | system/libraries/Form_validation.php | 4 | ||||
-rw-r--r-- | 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. :: - <input type="radio" name="myradio" value="1" <?php echo set_radio('myradio', '1', TRUE); ?> /> - <input type="radio" name="myradio" value="2" <?php echo set_radio('myradio', '2'); ?> /> + <input type="radio" name="myradio" value="1" <?php echo set_radio('myradio', '1', TRUE); ?> /> + <input type="radio" name="myradio" value="2" <?php echo set_radio('myradio', '2'); ?> />
\ No newline at end of file |