From 74f3131207496cd2351b828faead37bfa319d024 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 30 Sep 2011 18:25:18 -0400 Subject: Fix a typo in a individual.html.php that caused an error to show whenever a username was changed. When the message does show, it will say username "", since $new_name is never set, but that's another bug. --- src/views/pages/users/individual.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/views/pages/users') diff --git a/src/views/pages/users/individual.html.php b/src/views/pages/users/individual.html.php index f1c4efd..5722977 100644 --- a/src/views/pages/users/individual.html.php +++ b/src/views/pages/users/individual.html.php @@ -70,7 +70,7 @@ if ($user->canEdit()) { $t->openFieldset("Login / Authentication"); // Username //////////////////////////////////////////////////////////////////// -if (isset($VARS['changed name']) && !$VARS['changed_name']) { +if (isset($VARS['changed name']) && !$VARS['changed name']) { $t->inputP("Error setting username to ". "$new_name. This is probably because". " a user with that name already exists.", -- cgit v1.2.3-54-g00ecf