git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1885
7612ce4b-ef26-0410-bec9-
ea0150e637f0
} else {
$new_dir_hash_level =~ s/[\r|\n]//g;
}
- if ((int($new_dir_hash_level) < 0) || (int($new_dir_hash_level) > 4)) {
+ if ((int($new_dir_hash_level) < 0) ||
+ (int($new_dir_hash_level) > 4) ||
+ !(int($new_dir_hash_level) eq $new_dir_hash_level )) {
print "Invalid Directory Hash Level.\n";
print "Value must be an integer ranging from 0 to 4\n";
print "Hit enter to continue.\n";