aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-05-01 15:40:59 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-05-01 15:40:59 +0000
commitc6e368d5a942e831d3321efa262abea3e965d8cf (patch)
treea0feeaab00e74bab710a9c1adc9c667cab86b141 /engine/lib
parent415db843c10456e0f410b5d9428a08f35e9daddb (diff)
downloadelgg-c6e368d5a942e831d3321efa262abea3e965d8cf.tar.gz
elgg-c6e368d5a942e831d3321efa262abea3e965d8cf.tar.bz2
Closes #1002: Committed missing variable code
git-svn-id: https://code.elgg.org/elgg/trunk@3255 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/users.php4
1 files changed, 3 insertions, 1 deletions
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;