[freeside-commits] branch FREESIDE_3_BRANCH updated. 31da5dde3920cefff7ec7855f42105e1bfc6d2ef
Ivan Kohler
ivan at freeside.biz
Mon Nov 12 09:42:54 PST 2018
The branch, FREESIDE_3_BRANCH has been updated
via 31da5dde3920cefff7ec7855f42105e1bfc6d2ef (commit)
from fdb1871c66468d17e4b41325a5097506430fe300 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 31da5dde3920cefff7ec7855f42105e1bfc6d2ef
Author: Ivan Kohler <ivan at freeside.biz>
Date: Mon Nov 12 09:42:51 2018 -0800
fix fee deletion on v3, RT#81713
diff --git a/FS/FS/cust_event_fee.pm b/FS/FS/cust_event_fee.pm
index 3e6dfc925..3d78f771f 100644
--- a/FS/FS/cust_event_fee.pm
+++ b/FS/FS/cust_event_fee.pm
@@ -275,9 +275,12 @@ sub join_sql {
=item process_delete
=cut
-
+
+use Storable qw(thaw);
+use MIME::Base64;
sub process_delete {
- my( $job, $param ) = @_;
+ my $job = shift;
+ my $param = thaw(decode_base64(shift));
my $search_sql = FS::cust_event_fee->search_sql_where($param);
my $where = $search_sql ? " WHERE $search_sql" : '';
-----------------------------------------------------------------------
Summary of changes:
FS/FS/cust_event_fee.pm | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
More information about the freeside-commits
mailing list