fixed bug 713963
This commit is contained in:
parent
f882755578
commit
7b61b3f8d9
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ sub userFormSave {
|
||||||
sub userFormValidate {
|
sub userFormValidate {
|
||||||
my ($error);
|
my ($error);
|
||||||
# the grandfather clause
|
# the grandfather clause
|
||||||
my ($curentUsername) = WebGUI::SQL->quickArray("select username from users where userId=".$session{user}{userId});
|
my ($currentUsername) = WebGUI::SQL->quickArray("select username from users where userId=".$session{user}{userId});
|
||||||
unless ($currentUsername eq $session{form}{"authWebGUI.username"}) {
|
unless ($currentUsername eq $session{form}{"authWebGUI.username"}) {
|
||||||
if ($session{form}{"authWebGUI.username"} =~ /^\s/ || $session{form}{"authWebGUI.username"} =~ /\s$/) {
|
if ($session{form}{"authWebGUI.username"} =~ /^\s/ || $session{form}{"authWebGUI.username"} =~ /\s$/) {
|
||||||
$error = '<li>'.WebGUI::International::get(724);
|
$error = '<li>'.WebGUI::International::get(724);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue