From 7b61b3f8d905b068d96867c1a3fdf1a14f50bbaf Mon Sep 17 00:00:00 2001 From: JT Smith Date: Sat, 5 Apr 2003 06:30:28 +0000 Subject: [PATCH] fixed bug 713963 --- lib/WebGUI/Authentication/WebGUI.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/Authentication/WebGUI.pm b/lib/WebGUI/Authentication/WebGUI.pm index dd214e0f8..57f34a3bd 100644 --- a/lib/WebGUI/Authentication/WebGUI.pm +++ b/lib/WebGUI/Authentication/WebGUI.pm @@ -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 = '
  • '.WebGUI::International::get(724);