Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Format tweaks

Signed-off-by: Eric Roberts <eric@cryode.com>
  • Loading branch information...
commit 24a13f513f8352339647bf34b77d1eecae9d3b6e 1 parent b9e35f2
@cryode cryode authored
View
4 system/libraries/Form_validation.php
@@ -819,7 +819,7 @@ protected function _translate_fieldname($fieldname)
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 @@ public function reset_validation()
}
/* End of file Form_validation.php */
-/* Location: ./system/libraries/Form_validation.php */
+/* Location: ./system/libraries/Form_validation.php */
View
4 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'); ?> />
Please sign in to comment.
Something went wrong with that request. Please try again.