X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Flibs%2Fearning_functions.php;h=b0300dbcf0c790030776f9eb93215261d6e4a7c3;hp=809fda2563c617ad79a660d61af1799b6e33f0d5;hb=f328172e16c619d30889fac830e873f2eeef857a;hpb=a13cee9b7e7f0e4b40969c8957af72cb46bdb3a3 diff --git a/inc/libs/earning_functions.php b/inc/libs/earning_functions.php index 809fda2563..b0300dbcf0 100644 --- a/inc/libs/earning_functions.php +++ b/inc/libs/earning_functions.php @@ -46,18 +46,18 @@ function translateEarningGroup ($earningGroup) { } // Translates the "earning name" into human-readable -function translateEarningName ($earningName) { - return sprintf("{--EARNING_NAME_%s--}", $earningName); +function translateEarningProvider ($earningProvider) { + return sprintf("{--EARNING_PROVIDER_%s--}", $earningProvider); } /* * Generates a table (with templates) to display data for extra earnings (to * the member) by given "earning name". * - * @param $earningName Name of the earning + * @param $earningProvider Name of the earning * @return $output Generated HTML output */ -function generateMemberEarningDataTable ($earningName) { +function generateMemberEarningDataTable ($earningProvider) { // Init array for filter $filterData = array( // Minimum points to get @@ -72,7 +72,7 @@ function generateMemberEarningDataTable ($earningName) { // "earning group" 'earning_group' => 'INVALID', // "earning name" again - 'earning_name' => $earningName + 'earning_provider' => $earningProvider ); // Run the filter chain to get the data