summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2008-04-07 23:04:56 -0700
committerArun Persaud <arun@nubati.net>2008-04-07 23:04:56 -0700
commit9f3cec73181b5ac35486fea031828b11468bceb9 (patch)
tree91dbd2a2e464fd39865f7a298e5e27b1f0d08715
parentad64e0259097c91f67ea896134128c6883e42900 (diff)
downloade-DoKo-9f3cec73181b5ac35486fea031828b11468bceb9.tar.gz
e-DoKo-9f3cec73181b5ac35486fea031828b11468bceb9.tar.bz2
e-DoKo-9f3cec73181b5ac35486fea031828b11468bceb9.zip
BUGFIX: adding new users was broken
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>
-rw-r--r--register.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/register.php b/register.php
index 42b62ad..1c48288 100644
--- a/register.php
+++ b/register.php
@@ -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".