X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fselect-did.html;fp=httemplate%2Felements%2Fselect-did.html;h=2ff583ee1a9d98bc89194b2fca999509d4630f04;hb=ff023eb486cc3000d1ee4a2186b8748e1fcbdbb6;hp=fcc5adc2b41f9b290910451c62e51f0ee2bb1a10;hpb=b153693eaaf58e5af5f454e40f9ec169128f6d92;p=freeside.git diff --git a/httemplate/elements/select-did.html b/httemplate/elements/select-did.html index fcc5adc2b..2ff583ee1 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;