From 06c5423e19f5ce25d760deb5fb27c9912ebcc3f3 Mon Sep 17 00:00:00 2001 From: philippe_mingo Date: Fri, 21 Dec 2001 20:11:00 +0000 Subject: [PATCH] Fixed check of hashing level git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1883 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- config/conf.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/conf.pl b/config/conf.pl index ec277285..eb9fe8dc 100755 --- a/config/conf.pl +++ b/config/conf.pl @@ -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"; -- 2.25.1