From: ivan Date: Sat, 11 Aug 2001 05:51:24 +0000 (+0000) Subject: better error msg X-Git-Tag: merged-freeside_vpopmail_support~12 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=251030ed112d091a77a71299043cf46d88914bc5 better error msg --- diff --git a/FS/FS/part_svc.pm b/FS/FS/part_svc.pm index 01487b75f..ccf0413b3 100644 --- a/FS/FS/part_svc.pm +++ b/FS/FS/part_svc.pm @@ -84,7 +84,7 @@ returns the error, otherwise returns false. sub replace { my ( $new, $old ) = ( shift, shift ); - return "Can't change svcdb!" + return "Can't change svcdb for an existing service definition!" unless $old->svcdb eq $new->svcdb; $new->SUPER::replace( $old ); @@ -144,7 +144,7 @@ sub check { =head1 VERSION -$Id: part_svc.pm,v 1.1 1999-08-04 09:03:53 ivan Exp $ +$Id: part_svc.pm,v 1.2 2001-08-11 05:51:24 ivan Exp $ =head1 BUGS