From 97eea19dd325ccf33df16522fb1a0410dbca831f Mon Sep 17 00:00:00 2001 From: pdontthink Date: Sun, 9 Sep 2012 22:46:38 +0000 Subject: [PATCH] For DSN values, allow current value to remain if no changes made git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14342 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- config/conf.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/conf.pl b/config/conf.pl index 61f2bf98..09e56875 100755 --- a/config/conf.pl +++ b/config/conf.pl @@ -4110,7 +4110,7 @@ sub command91 { print "[$WHT$addrbook_dsn$NRM]: $WHT"; $new_dsn = ; if ( $new_dsn eq "\n" ) { - $new_dsn = ""; + $new_dsn = $addrbook_dsn; } else { $new_dsn =~ s/[\r\n]//g; $new_dsn =~ s/^\s+$//g; @@ -4152,7 +4152,7 @@ sub command93 { print "[$WHT$prefs_dsn$NRM]: $WHT"; $new_dsn = ; if ( $new_dsn eq "\n" ) { - $new_dsn = ""; + $new_dsn = $prefs_dsn; } else { $new_dsn =~ s/[\r\n]//g; $new_dsn =~ s/^\s+$//g; @@ -4255,7 +4255,7 @@ sub command98 { print "[$WHT$addrbook_global_dsn$NRM]: $WHT"; $new_dsn = ; if ( $new_dsn eq "\n" ) { - $new_dsn = ""; + $new_dsn = $addrbook_global_dsn; } else { $new_dsn =~ s/[\r\n]//g; $new_dsn =~ s/^\s+$//g; -- 2.25.1