[freeside-commits] branch FREESIDE_4_BRANCH updated. a0be186f867a0d0a7e8145e02c4a50173778df38
Christopher Burger
burgerc at 420.am
Wed Jul 12 10:28:57 PDT 2017
The branch, FREESIDE_4_BRANCH has been updated
via a0be186f867a0d0a7e8145e02c4a50173778df38 (commit)
from cfc3556abb94b4b90b8b3cb551c379e08e804b41 (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 a0be186f867a0d0a7e8145e02c4a50173778df38
Author: Christopher Burger <burgerc at freeside.biz>
Date: Wed Jul 12 13:21:55 2017 -0400
RT# 76307 - changed from returning an error to die on error.
diff --git a/FS/FS/part_event/Action/addtag.pm b/FS/FS/part_event/Action/addtag.pm
index 947f0c3..c4e9820 100644
--- a/FS/FS/part_event/Action/addtag.pm
+++ b/FS/FS/part_event/Action/addtag.pm
@@ -42,9 +42,7 @@ sub do_action {
my $cust_tag = new FS::cust_tag { 'tagnum' => $tagnum,
'custnum' => $object->custnum, };
my $error = $cust_tag->insert;
- if ( $error ) {
- return $error;
- }
+ die $error if $error;
}
}
'';
-----------------------------------------------------------------------
Summary of changes:
FS/FS/part_event/Action/addtag.pm | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
More information about the freeside-commits
mailing list