// Filter to change column name for the right "points account"
function FILTER_COUPON_CHANGE_POINTS_COLUMN_NAME ($filterData) {
- // Get the column name from extension's name and 'locked'
//* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
- $filterData['column'] = getPointsColumnNameFromExtensionNameLocked('coupon', $filterData['locked']);
+ // Get the column name from extension's name and 'locked'
+ die('<pre>'.print_r($filterData,true).'</pre>');
+ $filterData['column'] = getPointsColumnNameFromSubjectLocked($filterData['subject'], $filterData['locked']);
// Return data
//* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!');