Commit fa61f344 authored by zYne's avatar zYne

Missing Connection file added

parent 7f7aa898
This diff is collapsed.
......@@ -8,7 +8,7 @@ class Doctrine_Validator_Ip {
* @return boolean
*/
public function validate(Doctrine_Record $record, $key, $value, $args) {
return (bool)ip2long(str_replace("\0", '', $value));
return (bool) ip2long(str_replace("\0", '', $value));
}
}
?>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment