X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Ffilter%2Fbooking_filter.php;h=1c760b402625d3c65037c306f17441c4a02af4c9;hb=6c6f24bd5a3817573d1d49ed114700914ae8c920;hp=4fb2b207abca5cd8a06c8d8289a7770ad1dbc89f;hpb=24dfd21baed6a9a112992bdabf7da96576012bc4;p=mailer.git diff --git a/inc/filter/booking_filter.php b/inc/filter/booking_filter.php index 4fb2b207ab..1c760b4026 100644 --- a/inc/filter/booking_filter.php +++ b/inc/filter/booking_filter.php @@ -16,8 +16,8 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2011 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * Copyright (c) 2009 - 2012 by Mailer Developer Team * + * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -41,12 +41,25 @@ if (!defined('__SECURITY')) { } // END - if // Filter for adding booking record -function FILTER_ADD_BOOKING_RECORD ($data) { +function FILTER_ADD_BOOKING_RECORD ($filterData) { + //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!'); // Add a record - addBookingRecord($data['subject'], $data['userid'], $data['points'], $data['mode']); + addBookingRecord($filterData['subject'], $filterData['userid'], $filterData['points'], $filterData['points_mode'], $filterData['column']); // Return data - return $data; + //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!'); + return $filterData; +} + +// Filter for adding member action +function FILTER_ADD_BOOKING_MEMBER_ACTION ($filterData) { + //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!'); + // Add entry + array_push($filterData, 'list_booking'); + + // Return data + //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!'); + return $filterData; } // [EOF]