Wrapper function introduced, description for random refid rewritten:
[mailer.git] / ref.php
diff --git a/ref.php b/ref.php
index 59fe143ffc9056c664c9083a010df4155fef4c64..3b5fd8008581fb5c65397679cab2199b4f577e6f 100644 (file)
--- a/ref.php
+++ b/ref.php
@@ -68,7 +68,7 @@ if (isValidUserId(determineReferalId())) {
                        // Do we have an entry?
                        if (!isUserDataValid()) {
                                // No entry, so no referal id
-                               $GLOBALS['refid'] = getConfig('def_refid');
+                               $GLOBALS['refid'] = getDefRefid();
                        } // END - if
                }
        } // END - if