A lot texts rewritten and exclamation signs removed
[mailer.git] / inc / modules / member / what-primera.php
index e95ef39dff942442ab06395c9c1947e7ed31c56e..83b76264eb492b4d937bbe812467f6f10ce9f68c 100644 (file)
@@ -75,20 +75,20 @@ if (!isGetRequestElementSet('mode')) {
 
        // Are there some entries?
        if (SQL_NUMROWS($result) == 1) {
-               // Fetch ID
+               // Fetch id
                list($content['primera_nickname']) = SQL_FETCHROW($result);
        } // END - if
 
        // Free result
        SQL_FREERESULT($result);
 
-       // Is there an ID?
+       // Is there an id?
        if ((!empty($content['primera_nickname'])) && (!isGetRequestElementSet('mode'))) {
                // Then use an other "mode"
                setRequestGetElement('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(getUserId()), __FILE__, __LINE__);
 
                // Load all rows
@@ -146,7 +146,7 @@ if (getRequestElement('mode') == 'pay') {
 
        // Are there some entries?
        if (SQL_NUMROWS($result) == 1) {
-               // Fetch ID
+               // Fetch id
                list($content['primera_nickname']) = SQL_FETCHROW($result);
        }
 
@@ -163,7 +163,7 @@ if ((isFormSent()) && (isGetRequestElementSet('mode'))) {
        // Check input data depending on the mode and execute the requested mode
        switch (getRequestElement('mode')) {
                case 'pay': // Payout this exchange -> Primus
-                       // Is the user ID and password set?
+                       // Is the user id and password set?
                        if (!isPostRequestElementSet(('primera_nickname'))) {
                                // Nothing entered in Primus nickname
                                loadTemplate('admin_settings_saved', false, getMessage('PRIMERA_MEMBER_EMPTY_USERNAME'));