BUGIFX: typo in a call to a database function
[e-DoKo.git] / include / register.php
index 88b13a235e967ffc64992d81b749702444707d5c..0dc204d5ec18471a7befc0ceb90f0bbc9632f960 100644 (file)
@@ -22,10 +22,10 @@ if(myisset("Rfullname","Remail","Rpassword","Rtimezone") )
       }
     if($ok)
       {
-       $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,NULL)"); 
+       $r=DB_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,NULL)"); 
        
        if($r)
          {