summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2010-11-10 19:28:03 +0000
committerivan <ivan>2010-11-10 19:28:03 +0000
commit00395bc1c1093180cab6b946223984a23115beea (patch)
tree03dc1c437bf748c7fdec417ee1f1688496b19d12
parent8d09c3ac1e722b86ba84b0e19aa6a3fd586adce0 (diff)
just can't get this one right this morning, RT#10520
-rw-r--r--httemplate/search/phone_avail.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/search/phone_avail.html b/httemplate/search/phone_avail.html
index 2ef3dcd8c..e1c264fb6 100644
--- a/httemplate/search/phone_avail.html
+++ b/httemplate/search/phone_avail.html
@@ -119,7 +119,7 @@ my $count_query = "SELECT COUNT(*) FROM phone_avail $search"; #$addl_from?
my $link_cust = sub {
my $phone_avail = shift;
if ( $phone_avail->svcnum ) {
- my $cust_svc = $phone_avail->svc_phone->cust_svc;
+ my $cust_svc = $phone_avail->cust_svc;
if ( $cust_svc->pkgnum ) {
#my $cust_main = $cust_svc->cust_pkg->cust_main;
return [ "${p}view/cust_main.cgi?", 'custnum' ];