From 00c4b08d64f44d76274f89c01d8e82b7385d6d44 Mon Sep 17 00:00:00 2001 From: philippe_mingo Date: Sun, 17 Mar 2002 11:12:22 +0000 Subject: [PATCH] Corrected default value for width and height of logo git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2593 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- config/conf.pl | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/config/conf.pl b/config/conf.pl index 1f20869b..db58c0b8 100755 --- a/config/conf.pl +++ b/config/conf.pl @@ -663,11 +663,13 @@ sub command2a { if ( $new_org_logo_width eq '' ) { $new_org_logo_width = $org_logo_width; } - print "Height: [$WHT$org_logo_height$NRM]: $WHT"; - $new_org_logo_height = ; - $new_org_logo_height =~ tr/0-9//cd; # only want digits! - unless ( $new_org_logo_height > 0 ) { + if ( $new_org_logo_height > 0 ) { + print "Height: [$WHT$org_logo_height$NRM]: $WHT"; + $new_org_logo_height = ; + $new_org_logo_height =~ tr/0-9//cd; # only want digits! $new_org_logo_height = $org_logo_height; + } else { + $new_org_logo_height = 0; } return ($new_org_logo_width, $new_org_logo_height); } -- 2.25.1