From 9ee9cc63445272be74644ba327418ac5f16bb0af Mon Sep 17 00:00:00 2001 From: simond Date: Thu, 31 Jan 2002 14:06:29 +0000 Subject: [PATCH] Make sure no invalid value gets assigned to frame_top on writing config git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2319 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- config/conf.pl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/config/conf.pl b/config/conf.pl index e376284e..13098460 100755 --- a/config/conf.pl +++ b/config/conf.pl @@ -1889,7 +1889,11 @@ sub save_data { print CF "\$org_logo = '$org_logo';\n"; print CF "\$org_title = \"$org_title\";\n"; print CF "\$signout_page = '$signout_page';\n"; - print CF "\$frame_top = '$frame_top';\n"; + if ($frame_top eq "") { + print CF "\$frame_top = '_top';\n"; + } else { + print CF "\$frame_top = '$frame_top';\n"; + } print CF "\n"; print CF "global \$motd;\n"; -- 2.25.1