function FILTER_GENERATE_BONUS_MAIL_LINKS ($filterData) {
//* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
- // Is the type 'bid'?
- if ($filterData['type'] == 'bid') {
+ // Is the type 'bonus'?
+ if ($filterData['type'] == 'bonus') {
// Load template
$filterData['__output'] .= loadTemplate('admin_links_bonus_mail', TRUE, $filterData);
} // END - if