changeset 187:1fcdc6e752f6

Some fixes.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 08 Nov 2013 19:01:34 +0200
parents 4edcce55da9c
children a49c5f15a273
files register.inc.php
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/register.inc.php	Fri Nov 08 18:55:35 2013 +0200
+++ b/register.inc.php	Fri Nov 08 19:01:34 2013 +0200
@@ -143,15 +143,15 @@
   //
   // Check the registrant's details
   //
-  stChkRequestItem("name", FALSE,
+  stChkRequestItem("name", $fake,
     array(CHK_ISGT, VT_STR, 0, "Handle / name not given."),
     array(CHK_ISGT, VT_STR, 3, "Handle / name too short, should be 3 characters or more."),
     array(CHK_ISLT, VT_STR, SET_LEN_USERNAME, "Handle / name is too long, should be less than ".SET_LEN_USERNAME." characters."));
 
-  stChkRequestItem("groups", FALSE,
+  stChkRequestItem("groups", $fake,
     array(CHK_ISLT, VT_STR, SET_LEN_GROUPS, "Groups are too long, should be less than ".SET_LEN_GROUPS." characters."));
 
-  stChkRequestItem("oneliner", FALSE,
+  stChkRequestItem("oneliner", $fake,
     array(CHK_ISLT, VT_STR, SET_LEN_ONELINER, "Oneliner is too long, should be less than ".SET_LEN_ONELINER." characters."));
 
   stChkRequestItem("hash", $hash,