]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/payout_functions.php
Renamed templates + added some filters for mail order
[mailer.git] / inc / libs / payout_functions.php
index e8b2e853b55488d60f89502fbea2bab09feb5e5e..c8a9f304de4c355802378fdb7e052a895dc3b798 100644 (file)
@@ -57,6 +57,8 @@ WHERE
 ORDER BY
        `type` ASC',
                        array($points), __FUNCTION__, __LINE__);
+
+               // Some entries found?
                if (!ifSqlHasZeroNums($result)) {
                        // Init output
                        $OUT = '';
@@ -77,7 +79,7 @@ ORDER BY
                        loadTemplate('member_payout_list', TRUE, $OUT);
                } else {
                        // No payout types setup so far
-                       displayErrorMessage('{--MEMBER_PAYOUT_SETUP_INCOMPLETE--}');
+                       displayErrorMessage('{--MEMBER_PAYOUT_SETUP_INCOMPLETE_LOW_POINTS--}');
                }
 
                // Free memory