From 63717a856212667f1b412a79b22323fa1e8f248b Mon Sep 17 00:00:00 2001 From: philippe_mingo Date: Sat, 22 Dec 2001 00:18:20 +0000 Subject: [PATCH] Forgot that one git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1885 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- config/conf.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/conf.pl b/config/conf.pl index eb9fe8dc..02c6c334 100755 --- a/config/conf.pl +++ b/config/conf.pl @@ -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"; -- 2.25.1