From: simond Date: Thu, 31 Jan 2002 14:06:29 +0000 (+0000) Subject: Make sure no invalid value gets assigned to frame_top on writing config X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=9ee9cc63445272be74644ba327418ac5f16bb0af 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 --- diff --git a/config/conf.pl b/config/conf.pl index e376284..1309846 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";