X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fpref%2Fpref-process.html;h=6f35185613648c3848be72a0d23d0582b984c87b;hb=a9579d4fc556a54ad76b863cdd19abba79f3fc5f;hp=897be252c3a52ca5855e74ac3add029eed1bbe02;hpb=93f811c014058da26e734fc621028741b156c5d7;p=freeside.git diff --git a/httemplate/pref/pref-process.html b/httemplate/pref/pref-process.html index 897be252c..6f3518561 100644 --- a/httemplate/pref/pref-process.html +++ b/httemplate/pref/pref-process.html @@ -21,7 +21,7 @@ if ( grep { $cgi->param($_) !~ /^\s*$/ } $access_user = qsearchs( 'access_user', { 'username' => getotaker, - '_password' => $cgi->param('_password'), + '_password' => scalar($cgi->param('_password')), } ); $error = 'Current password incorrect; password not changed' @@ -48,7 +48,7 @@ unless ( $error ) { # if ($access_user) { my %param = $access_user->options; #XXX autogen - my @paramlist = qw( menu_position default_customer_view + my @paramlist = qw( locale menu_position default_customer_view mobile_menu disable_html_editor email_address snom-ip snom-username snom-password