Fix bug #534795 concerning logo height broken
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 1 Apr 2002 11:11:32 +0000 (11:11 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 1 Apr 2002 11:11:32 +0000 (11:11 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2658 7612ce4b-ef26-0410-bec9-ea0150e637f0

config/conf.pl

index 9b5ec45..ffe93ac 100755 (executable)
@@ -676,7 +676,9 @@ sub command2a {
         print "Height: [$WHT$org_logo_height$NRM]: $WHT";
         $new_org_logo_height = <STDIN>;
         $new_org_logo_height =~ tr/0-9//cd;  # only want digits!
-        $new_org_logo_height = $org_logo_height;
+        if( $new_org_logo_height eq '' ) {
+               $new_org_logo_height = $org_logo_height;
+       }
     } else {
         $new_org_logo_height = 0;
     }