BUGFIX: adding new users was broken
authorArun Persaud <arun@nubati.net>
Tue, 8 Apr 2008 06:04:56 +0000 (23:04 -0700)
committerArun Persaud <arun@nubati.net>
Tue, 8 Apr 2008 06:04:56 +0000 (23:04 -0700)
forgot to update the insert statement for the db when changing
the user table a while ago. fixed now.

Signed-off-by: Arun Persaud <arun@nubati.net>
register.php

index 42b62ad067367b581872ba741d2ed69594847795..1c482886cd51847b65b38825d5b39abe9f3da969 100644 (file)
@@ -41,7 +41,7 @@ if(myisset("Rfullname","Remail","Rpassword","Rtimezone") )
        $r=mysql_query("INSERT INTO User VALUES(NULL,".DB_quote_smart($_REQUEST["Rfullname"]).
                       ",".DB_quote_smart($_REQUEST["Remail"]).
                       ",".DB_quote_smart(md5($_REQUEST["Rpassword"])).
-                      ",".DB_quote_smart($_REQUEST["Rtimezone"]).",NULL)"); 
+                      ",".DB_quote_smart($_REQUEST["Rtimezone"]).",NULL,NULL)"); 
        
        if($r)
          echo " Welcome to e-DoKo, you are now registered, please visit the".