Skip to content

Commit d0f559c

Browse files
authored
Merge pull request #307 from iricketson/fix/sfValidatorIp
[PHP] Replace default $flags variable with 0
2 parents 6edd425 + d60c2c1 commit d0f559c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/validator/sfValidatorIp.class.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ protected function doClean($value)
106106
break;
107107

108108
default:
109-
$flag = null;
109+
$flag = 0;
110110

111111
break;
112112
}

0 commit comments

Comments
 (0)