From c6e368d5a942e831d3321efa262abea3e965d8cf Mon Sep 17 00:00:00 2001 From: marcus Date: Fri, 1 May 2009 15:40:59 +0000 Subject: Closes #1002: Committed missing variable code git-svn-id: https://code.elgg.org/elgg/trunk@3255 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/users.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'engine') diff --git a/engine/lib/users.php b/engine/lib/users.php index f83babc66..9c00bb404 100644 --- a/engine/lib/users.php +++ b/engine/lib/users.php @@ -1122,7 +1122,9 @@ * @throws RegistrationException on invalid */ function validate_username($username) - { + { + global $CONFIG; + // Basic, check length if (!isset($CONFIG->minusername)) { $CONFIG->minusername = 4; -- cgit v1.2.3