summaryrefslogtreecommitdiff
path: root/FS/FS/svc_Common.pm
diff options
context:
space:
mode:
authorivan <ivan>2008-12-21 21:39:55 +0000
committerivan <ivan>2008-12-21 21:39:55 +0000
commitb333223b0223e560a877e1d5f4c433b5ef6da54f (patch)
tree9d1bf46631621a962a68a6ac5f8fb384930a27a4 /FS/FS/svc_Common.pm
parent48bade3f01a672f235d61a29ad0d0b792fc80eab (diff)
unique checking for svc_phone like svc_acct, closes: RT#4204 (also a few lines of the new per-agent config snuck in Conf.pm from RT#3989)
Diffstat (limited to 'FS/FS/svc_Common.pm')
-rw-r--r--FS/FS/svc_Common.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/svc_Common.pm b/FS/FS/svc_Common.pm
index 2866bfe..da1cfe1 100644
--- a/FS/FS/svc_Common.pm
+++ b/FS/FS/svc_Common.pm
@@ -397,7 +397,7 @@ sub replace {
#redundant, but so any duplicate fields are maniuplated as appropriate
# (svc_phone.phonenum)
- my $error = $new->check;
+ $error = $new->check;
if ( $error ) {
$dbh->rollback if $oldAutoCommit;
return $error;