]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-primera.php
A lot has been rewritten, ext-teams added, ext-forced continued:
[mailer.git] / inc / modules / member / what-primera.php
index 929169226f3c0b86a857db705d505330cc9296e5..cf4a196098614d7320d30ea384d2e2210405956f 100644 (file)
@@ -71,7 +71,7 @@ if (!isGetRequestParameterSet('mode')) {
                setGetRequestParameter('mode', 'list');
 
                // And load all rows!
-               $result = SQL_QUERY_ESC("SELECT `id`, `primera_account`, `primera_amount`, `primera_timestamp`, `primera_type` FROM `{?_MYSQL_PREFIX?}_user_primera` WHERE `userid`=%s ORDER BY `primera_timestamp` DESC",
+               $result = SQL_QUERY_ESC("SELECT `id`,`primera_account`,`primera_amount`,`primera_timestamp`,`primera_type` FROM `{?_MYSQL_PREFIX?}_user_primera` WHERE `userid`=%s ORDER BY `primera_timestamp` DESC",
                        array(getMemberId()), __FILE__, __LINE__);
 
                // Load all rows
@@ -155,7 +155,7 @@ if ((isFormSent()) && (isGetRequestParameterSet('mode'))) {
                                                $locked = false;
                                        } // END - if
 
-                                       // Remove points from account
+                                       // Subtract points from account and ignore return status
                                        subtractPoints('primera_payout', getMemberId(), postRequestParameter('amount'));
 
                                        // Update primera nickname