Skip to content

Commit

Permalink
[ZF-10614] - fixed manual
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasweidner committed Oct 31, 2010
1 parent b957fb9 commit 4414307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/manual/en/module_specs/Zend_Validate-Ip.xml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ if ($validator->isValid($ip)) {
</para>

<programlisting language="php"><![CDATA[
$validator = new Zend_Validate_Ip(array('allowipv6' => false);
$validator = new Zend_Validate_Ip(array('allowipv6' => false));
if ($validator->isValid($ip)) {
// ip appears to be valid ipv4 address
} else {
Expand Down

0 comments on commit 4414307

Please sign in to comment.