summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-select-did.html
diff options
context:
space:
mode:
authorivan <ivan>2009-07-10 17:50:26 +0000
committerivan <ivan>2009-07-10 17:50:26 +0000
commit33d0ac01c47763fdc394c2b477c7e8aadbbe4156 (patch)
tree882f9eba1461182d199d4d76ff9fb710948068f1 /httemplate/elements/tr-select-did.html
parentbe5a76006fb0d317c667c0432737284146b2ae45 (diff)
fix svc_phone provisioning!
Diffstat (limited to 'httemplate/elements/tr-select-did.html')
-rw-r--r--httemplate/elements/tr-select-did.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/httemplate/elements/tr-select-did.html b/httemplate/elements/tr-select-did.html
index 6dd057600..e866d0d7e 100644
--- a/httemplate/elements/tr-select-did.html
+++ b/httemplate/elements/tr-select-did.html
@@ -24,7 +24,9 @@ my $cell_style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}. '"' : '';
#false laziness w/select-did.html
#XXX make sure this comes through on errors too
-my $svcpart = $opt{'svcpart'} || $opt{'object'}->cust_svc->svcpart;
+my $svcpart = $opt{'svcpart'}
+ || $opt{'object'}->svcpart
+ || $opt{'object'}->cust_svc->svcpart;
my $part_svc = qsearchs('part_svc', { 'svcpart'=>$svcpart } );
die "unknown svcpart $svcpart" unless $part_svc;