summaryrefslogtreecommitdiff
path: root/FS/FS/part_svc.pm
diff options
context:
space:
mode:
authorivan <ivan>2011-12-13 05:09:32 +0000
committerivan <ivan>2011-12-13 05:09:32 +0000
commit8cbe016ac2c28cd209c48f053f361573368e7988 (patch)
tree5a39513e71f4e9528f71fa298c2abf8b8dbd07db /FS/FS/part_svc.pm
parentea1b65c11b8781160b5a76a77e1ee8108e528048 (diff)
add latitude/longitude to prospects, customers and package locations, RT#15539
Diffstat (limited to 'FS/FS/part_svc.pm')
-rw-r--r--FS/FS/part_svc.pm15
1 files changed, 15 insertions, 0 deletions
diff --git a/FS/FS/part_svc.pm b/FS/FS/part_svc.pm
index cc30dbb..dea115c 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