summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-09-30 18:25:18 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-09-30 18:25:18 -0400
commit74f3131207496cd2351b828faead37bfa319d024 (patch)
tree2b2f84de3514dbec06926265f3dbbf505dc901ac
parent4152eefe0f93816cffa3d38c33638593d9e07f39 (diff)
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.
-rw-r--r--src/views/pages/users/individual.html.php2
1 files changed, 1 insertions, 1 deletions
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 ".
"<q>$new_name</q>. This is probably because".
" a user with that name already exists.",