From: pdontthink Date: Sun, 9 Sep 2012 22:46:38 +0000 (+0000) Subject: For DSN values, allow current value to remain if no changes made X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=97eea19dd325ccf33df16522fb1a0410dbca831f;p=squirrelmail.git 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 --- 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;