summaryrefslogtreecommitdiff
path: root/httemplate/elements/select-did.html
diff options
context:
space:
mode:
authorivan <ivan>2009-07-06 00:10:49 +0000
committerivan <ivan>2009-07-06 00:10:49 +0000
commitff023eb486cc3000d1ee4a2186b8748e1fcbdbb6 (patch)
treedb33935fbb29c47874037bc7defc4414e43f26a0 /httemplate/elements/select-did.html
parentb153693eaaf58e5af5f454e40f9ec169128f6d92 (diff)
doh
Diffstat (limited to 'httemplate/elements/select-did.html')
-rw-r--r--httemplate/elements/select-did.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/elements/select-did.html b/httemplate/elements/select-did.html
index fcc5adc..2ff583e 100644
--- a/httemplate/elements/select-did.html
+++ b/httemplate/elements/select-did.html
@@ -70,7 +70,7 @@ my $country = $conf->config('countrydefault') || 'US';
#false laziness w/tr-select-did.html
#XXX make sure this comes through on errors too
-my $svcpart = $opt{'svcpart'} || $opt{'object'}->svcpart;
+my $svcpart = $opt{'svcpart'} || $opt{'object'}->cust_svc->svcpart;
my $part_svc = qsearchs('part_svc', { 'svcpart'=>$svcpart } );
die "unknown svcpart $svcpart" unless $part_svc;