# HG changeset patch # User Matti Hamalainen # Date 1383930094 -7200 # Node ID 1fcdc6e752f657b0165b5c4676f828c922abd4fc # Parent 4edcce55da9c58a2b3e3ad8ee1af6709732f7c88 Some fixes. diff -r 4edcce55da9c -r 1fcdc6e752f6 register.inc.php --- 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,