]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/beg_functions.php
Large code cleanups:
[mailer.git] / inc / libs / beg_functions.php
index 144d9efedd0cc3e0a6dd8a5f29cceebf5ecd3373..6c97bc34be6a020cf767b52582c7708ae79ccc2f 100644 (file)
@@ -17,7 +17,7 @@
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://www.mxchange.org                  *
+ * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
  * it under the terms of the GNU General Public License as published by *
@@ -55,8 +55,8 @@ function addPointsBeg ($userid, $points) {
                $added = (!SQL_HASZEROAFFECTED());
        } else {
                // Add points to account
-               initReferalSystem();
-               $added = addPointsThroughReferalSystem('beg', $userid, $points);
+               initReferralSystem();
+               $added = addPointsThroughReferralSystem('beg', $userid, $points);
        }
 
        // Subtract begged points from member account if the admin has selected one