A lot more constants rewritten, deprecated variables with same constant name removed
[mailer.git] / inc / modules / guest / what-register.php
index 07be03e56d9c709fb446f50ebb890234cc157f21..7cf8158ed9e3f97b5002ebb5e427cbbf22a624ac 100644 (file)
@@ -300,7 +300,7 @@ VALUES ('%s','%s','%s','%s','%s',%s,'%s','%s',%s, %s,%s,'%s',%s, %s,'%s','UNCONF
        $gender = TRANSLATE_GENDER($_POST['gender']);
 
        // ... rewrite a zero referal ID to the main title
-       if ($_POST['refid'] == "0") $_POST['refid'] = MAIN_TITLE;
+       if ($_POST['refid'] == "0") $_POST['refid'] = constant('MAIN_TITLE');
 
        // Is ZIP code set?
        if (!empty($_POST['zip'])) {