X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fpart_svc.pm;h=dea115cac77f3a6b305237e83a39e0a0bbdfe0f5;hp=cc30dbbd470f26e2fc8d4bbb91c168edbcdf649e;hb=8cbe016ac2c28cd209c48f053f361573368e7988;hpb=ea1b65c11b8781160b5a76a77e1ee8108e528048 diff --git a/FS/FS/part_svc.pm b/FS/FS/part_svc.pm index cc30dbbd4..dea115cac 100644 --- a/FS/FS/part_svc.pm +++ b/FS/FS/part_svc.pm @@ -872,6 +872,21 @@ sub _upgrade_data { #class method die $error if $error; } + my @badlabels = qsearch({ + 'table' => 'part_svc_column', + 'hashref' => {}, + 'extra_sql' => 'WHERE columnlabel IN ('. + "'Descriptive label for this particular device.',". + "'IP address. Leave blank for automatic assignment.',". + "'Maximum upload speed for this service in Kbps. 0 denotes unlimited.',". + "'Maximum download speed for this service in Kbps. 0 denotes unlimited.')" + }); + foreach my $col ( @badlabels ) { + $col->columnlabel(''); + my $error = $col->replace; + die $error if $error; + } + } =head1 BUGS