More rewrites, and output-mode fixed (we should documentate this)
[mailer.git] / inc / modules / guest / what-sponsor_reg.php
index 35fdaeec1ecdf38055899796bcaf605f7a009f1c..cd23e6eda3bad9217a1119aca2670f6ab85f9d1e 100644 (file)
@@ -241,7 +241,7 @@ WHERE `id`='%s' LIMIT 1",
                                $content['surname']   = secureString(postRequestElement('surname'));
                                $content['family']    = secureString(postRequestElement('family'));
                                $content['gender']    = translateGender(postRequestElement('gender'));
-                               $content['timestamp'] = generateDateTime(time(), '0');
+                               $content['timestamp'] = generateDateTime(time(), 0);
                                $content['password']  = secureString(postRequestElement('pass1'));
 
                                // Generate email and send it to the new sponsor
@@ -351,7 +351,7 @@ ORDER BY `pay_name`", __FILE__, __LINE__);
                        $content['refid'] = bigintval(getRequestElement('refid'));
                } else {
                        // No referal link
-                       $content['refid'] = '0';
+                       $content['refid'] = 0;
                }
 
                // Display registration form