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 {
|
||||
my ($error);
|
||||
# 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"}) {
|
||||
if ($session{form}{"authWebGUI.username"} =~ /^\s/ || $session{form}{"authWebGUI.username"} =~ /\s$/) {
|
||||
$error = '<li>'.WebGUI::International::get(724);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue