]> git.mxchange.org Git - mailer.git/blobdiff - inc/filter/coupon_filter.php
Several code cleanups:
[mailer.git] / inc / filter / coupon_filter.php
index 098c83ec8f68592b670cf31909542c2216a9ff46..4aa7b8e82f195ad21b8fd8fd2abe4eefc3f3ccea 100644 (file)
@@ -41,14 +41,14 @@ if (!defined('__SECURITY')) {
 } // END - if
 
 // Filter to change column name for the right "points account"
-function FILTER_COUPON_CHANGE_POINTS_COLUMN_NAME ($data) {
-       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
+function FILTER_COUPON_CHANGE_POINTS_COLUMN_NAME ($filterData) {
        // Get the column name from extension's name and 'locked'
-       $data['column'] = getPointsColumnNameFromExtensionNameLocked('coupon', $data['locked']);
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!');
+       $filterData['column'] = getPointsColumnNameFromExtensionNameLocked('coupon', $filterData['locked']);
 
        // Return data
        //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!');
-       return $data;
+       return $filterData;
 }
 
 // [EOF]