]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-refback.php
Some words rewritten
[mailer.git] / inc / modules / member / what-refback.php
index 4c098a910cd893632d02ee1d6aed7dd99beaef9c..19439d2e6b58ad25fcfa6163ebc6eeba27945a82 100644 (file)
@@ -75,7 +75,7 @@ if ((isFormSent('edit')) && (isPostRequestParameterSet('id'))) {
                                displayMessage('{--MEMBER_REFBACK_DONE--}');
                        } elseif (isset($status['message'])) {
                                // Something went wrong with error message
-                               displayMessage('{%message,MEMBER_REFBACK_ERROR_MESSAGE=' . $status['message'] . '%}');
+                               displayMessage('{%message,MEMBER_REFBACK_ERROR_MESSAGE=' . getMessage($status['message']) . '%}');
                        } else {
                                // No message found
                                displayMessage('{--MEMBER_REFBACK_ERROR_EMPTY_MESSAGE--}');
@@ -97,7 +97,8 @@ if ((isFormSent('edit')) && (isPostRequestParameterSet('id'))) {
 
 // Load all referal levels
 $result = SQL_QUERY('SELECT
-       r.level, r.percents
+       r.`level`,
+       r.`percents`
 FROM
        `{?_MYSQL_PREFIX?}_refdepths` AS r
 WHERE