diff --git a/documentation/manual/en/module_specs/Zend_Validate-Ip.xml b/documentation/manual/en/module_specs/Zend_Validate-Ip.xml index fb1f27ea797..0413c662363 100644 --- a/documentation/manual/en/module_specs/Zend_Validate-Ip.xml +++ b/documentation/manual/en/module_specs/Zend_Validate-Ip.xml @@ -89,7 +89,7 @@ if ($validator->isValid($ip)) { false); +$validator = new Zend_Validate_Ip(array('allowipv6' => false)); if ($validator->isValid($ip)) { // ip appears to be valid ipv4 address } else {