[freeside-commits] freeside/FS/FS/cust_pkg Import.pm,1.3,1.4
Ivan,,,
ivan at wavetail.420.am
Fri Jan 21 01:40:42 PST 2011
Update of /home/cvs/cvsroot/freeside/FS/FS/cust_pkg
In directory wavetail.420.am:/tmp/cvs-serv32720
Modified Files:
Import.pm
Log Message:
questionable auto-domaining of username at domain usernames on package import, RT#9117
Index: Import.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_pkg/Import.pm,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -w -d -r1.3 -r1.4
--- Import.pm 21 Jan 2011 09:26:32 -0000 1.3
+++ Import.pm 21 Jan 2011 09:40:40 -0000 1.4
@@ -138,14 +138,14 @@
'domain' => $domain, };
unless ( $svc_domain->svcnum ) {
my $error = $svc_domain->insert;
- return $error if $error;
+ return "error auto-inserting domain: $error" if $error;
}
$svc->username($username);
$svc->domsvc($svc_domain->svcnum);
}
my $error = $svc->insert;
- return $error if $error;
+ return "error inserting service: $error" if $error;
}
}
More information about the freeside-commits
mailing list