[freeside-commits] branch FREESIDE_4_BRANCH updated. b216bf3a4a3e9646fb80002718b6aa1ae2687354
Ivan
ivan at 420.am
Thu Mar 3 16:39:34 PST 2016
The branch, FREESIDE_4_BRANCH has been updated
via b216bf3a4a3e9646fb80002718b6aa1ae2687354 (commit)
from c8666a392471849f3b945eb44f7c9f838686ad0a (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 b216bf3a4a3e9646fb80002718b6aa1ae2687354
Author: Ivan Kohler <ivan at freeside.biz>
Date: Thu Mar 3 16:39:31 2016 -0800
fix contact upgrade, RT#39659
diff --git a/FS/FS/contact.pm b/FS/FS/contact.pm
index c1b558d..2f9b339 100644
--- a/FS/FS/contact.pm
+++ b/FS/FS/contact.pm
@@ -741,6 +741,12 @@ sub firstlast {
# $contact_class->classname;
#}
+#autoloaded by FK in 4.x, but not during the upgrade
+sub contact_email {
+ my $self = shift;
+ qsearch('contact_email', { 'contactnum' => $self->contactnum } );
+}
+
=item by_selfservice_email EMAILADDRESS
Alternate search constructor (class method). Given an email address,
-----------------------------------------------------------------------
Summary of changes:
FS/FS/contact.pm | 6 ++++++
1 file changed, 6 insertions(+)
More information about the freeside-commits
mailing list