Forgot that one
authorphilippe_mingo <philippe_mingo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 22 Dec 2001 00:18:20 +0000 (00:18 +0000)
committerphilippe_mingo <philippe_mingo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 22 Dec 2001 00:18:20 +0000 (00:18 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1885 7612ce4b-ef26-0410-bec9-ea0150e637f0

config/conf.pl

index eb9fe8d..02c6c33 100755 (executable)
@@ -1353,7 +1353,9 @@ sub command33c {
    } 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";