Format tweaks
Signed-off-by: Eric Roberts <eric@cryode.com>
diff --git a/system/libraries/Form_validation.php b/system/libraries/Form_validation.php
index 19041bd..ecd5b18 100644
--- a/system/libraries/Form_validation.php
+++ b/system/libraries/Form_validation.php
@@ -819,7 +819,7 @@
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 @@
}
/* 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 acf1e56..a5348b2 100644
--- a/user_guide_src/source/libraries/form_validation.rst
+++ b/user_guide_src/source/libraries/form_validation.rst
@@ -1078,5 +1078,5 @@
::
- <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