]> git.mxchange.org Git - mailer.git/blobdiff - inc/mysql-manager.php
Variable fixed
[mailer.git] / inc / mysql-manager.php
index 519d73c98abfb0717385ca8bd684ac55cefe06ff..abcd20f7e55baeeec9d593f9df47c46634f3ea42 100644 (file)
@@ -995,9 +995,8 @@ function getModeAction ($mode, $what) {
        } elseif ((!isExtensionInstalled('sql_patches')) && ($mode != 'admin')) {
                // No sql_patches installed, but maybe we need to register an admin?
                if (isAdminRegistered()) {
-                       // Redirect
-                       // @TODO Why does this lead into an endless loop but we still need it???
-                       // @TODO Commented out redirectToUrl('admin.php');
+                       // Redirect to admin area
+                       redirectToUrl('admin.php');
                } // END - if
        }
 
@@ -1230,7 +1229,7 @@ function addPointsThroughReferalSystem ($subject, $userid, $points, $sendNotify
                'subject'  => $subject,
                'userid'   => $userid,
                'points'   => $points,
-               'notify'   => $notify,
+               'notify'   => $sendNotify,
                'rid'      => $rid,
                'locked'   => $locked,
                'mode'     => 'add',