From: ivan Date: Wed, 10 Nov 2010 19:28:02 +0000 (+0000) Subject: just can't get this one right this morning, RT#10520 X-Git-Tag: TORRUS_1_0_9~105 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=87fbaed3903546e36a9ce8da91c609999caf140b just can't get this one right this morning, RT#10520 --- 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' ];