Mailer project continued:
[mailer.git] / inc / modules / member / what-wernis.php
index 2086288fef4fe2da3e5118865ddf3acf0bd5ba4c..7d3929862e9cac034bf0360379eb108ca25c5e9b 100644 (file)
@@ -72,7 +72,7 @@ if ((!isGetRequestElementSet('do')) || (getRequestElement('do') == 'choose')) {
                setGetRequestElement('do', 'list');
 
                // And load all rows!
-               $result = SQL_QUERY_ESC("SELECT `id`,`wernis_account`,`wernis_amount`,`wernis_timestamp`,`wernis_type` FROM `{?_MYSQL_PREFIX?}_user_wernis` WHERE `userid`=%s ORDER BY `wernis_timestamp` DESC",
+               $result = SQL_QUERY_ESC("SELECT `id`, `wernis_account`, `wernis_amount`, `wernis_timestamp`, `wernis_type` FROM `{?_MYSQL_PREFIX?}_user_wernis` WHERE `userid`=%s ORDER BY `wernis_timestamp` DESC",
                        array(getMemberId()), __FILE__, __LINE__);
 
                // Load all rows