Skip to content

Commit

Permalink
Add $flag to valid_ip
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Apr 23, 2016
1 parent 18837aa commit aff1c52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/validation/validation.html
Original file line number Diff line number Diff line change
Expand Up @@ -315,9 +315,9 @@ <h4 id="rules_table">Rules table</h4>
</tr>
<tr>
<th>valid_ip</th>
<td>(none)</td>
<td><kbd>$flag</kbd> (optional)</td>
<td>
Validates if the given input is a valid IP.
Validates if the given input is a valid IP address. You can set <kbd>'ipv4'</kbd> or <kbd>'ipv6'</kbd> to <kbd>$flag</kbd> to check a specific IP address format.
</td>
</tr>
<tr>
Expand Down

0 comments on commit aff1c52

Please sign in to comment.