Fixed check of hashing level
authorphilippe_mingo <philippe_mingo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 21 Dec 2001 20:11:00 +0000 (20:11 +0000)
committerphilippe_mingo <philippe_mingo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 21 Dec 2001 20:11:00 +0000 (20:11 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1883 7612ce4b-ef26-0410-bec9-ea0150e637f0

config/conf.pl

index ec277285e5c279cc0ab55725faa4edc83bc0a093..eb9fe8dcdb505c0baaa3f0516a63f3a511708c45 100755 (executable)
@@ -1353,7 +1353,7 @@ sub command33c {
    } else {
       $new_dir_hash_level =~ s/[\r|\n]//g;
    }
-   if (($new_dir_hash_level < 0) || ($new_dir_hash_level > 4)) {
+   if ((int($new_dir_hash_level) < 0) || (int($new_dir_hash_level) > 4)) {
       print "Invalid Directory Hash Level.\n";
       print "Value must be an integer ranging from 0 to 4\n";
       print "Hit enter to continue.\n";