X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fpref%2Fpref.html;h=1f4edf2cbf0fd3f560fef390c9a836a2cc9d1963;hp=57e22b3459c3b9b51b4d09a4edb046c7ed4f2a9e;hb=023d94dfecafde35f4cc99a8412666b3fe98202d;hpb=4b98dc4f89496db2ecf56ac8b968baff6cc3f774 diff --git a/httemplate/pref/pref.html b/httemplate/pref/pref.html index 57e22b345..1f4edf2cb 100644 --- a/httemplate/pref/pref.html +++ b/httemplate/pref/pref.html @@ -114,7 +114,7 @@ Vonage integration (see Click2Call my $curuser = $FS::CurrentUser::CurrentUser; # XSS via your own preferences? seems unlikely, but nice try anyway... -( $curuser->option('menu_position') || 'left' ) +( $curuser->option('menu_position') || 'top' ) =~ /^(\w+)$/ or die "illegal menu_position"; my $menu_position = $1; ( $curuser->option('email_address') )