Skip to content

Commit

Permalink
Format tweaks
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Roberts <eric@cryode.com>
  • Loading branch information
AkenRoberts committed Dec 12, 2012
1 parent b9e35f2 commit 24a13f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions system/libraries/Form_validation.php
Expand Up @@ -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);
}
Expand Down Expand Up @@ -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 */
4 changes: 2 additions & 2 deletions user_guide_src/source/libraries/form_validation.rst
Expand Up @@ -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'); ?> />

0 comments on commit 24a13f5

Please sign in to comment.