]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-confirm.php
More fixes from profi-concept for extension loading, guest/member menu and smaller...
[mailer.git] / inc / modules / guest / what-confirm.php
index 582416028a881c65e8544d657cbadb419b76611f..a4b0bedfcca00ea4996524995b580a112723037b 100644 (file)
@@ -38,7 +38,7 @@ if (!defined('__SECURITY')) {
 }
 
 // Add description as navigation point
-ADD_DESCR("guest", basename(__FILE__));
+ADD_DESCR("guest", __FILE__);
 
 if (!empty($_GET['hash'])) {
        // Initialize the user ID
@@ -92,8 +92,8 @@ if (!empty($_GET['hash'])) {
                                        } // END - if
 
                                        // Add one-time referal bonus over referal system or directly
-                                       $DEPTH = 0;
-                                       ADD_POINTS_REFSYSTEM($rid, $_CONFIG['points_ref'], true, bigintval($uid), $locked, $_CONFIG['reg_points_mode']);
+                                       unset($DEPTH);
+                                       ADD_POINTS_REFSYSTEM("referal_bonus", $rid, $_CONFIG['points_ref'], true, bigintval($uid), $locked, $_CONFIG['reg_points_mode']);
                                } // END - if
                        } // END - if