From: ivan Date: Fri, 18 Apr 2003 03:29:25 +0000 (+0000) Subject: YA pg7.3 fix X-Git-Tag: freeside_1_4_1beta8~5 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=3e050cb4a4581583491921f776b41d6aefd49db3;p=freeside.git YA pg7.3 fix --- diff --git a/httemplate/view/svc_acct.cgi b/httemplate/view/svc_acct.cgi index 47a93586d..a5cf02776 100755 --- a/httemplate/view/svc_acct.cgi +++ b/httemplate/view/svc_acct.cgi @@ -1,4 +1,4 @@ - +<-- mason kludge --> <% my $conf = new FS::Conf; @@ -145,7 +145,9 @@ if ( $conf->exists('security_phrase') ) { $svc_acct->sec_phrase. ''; } -my $svc_acct_pop = qsearchs('svc_acct_pop',{'popnum'=>$svc_acct->popnum}); +my $svc_acct_pop = $svc_acct->popnum + ? qsearchs('svc_acct_pop',{'popnum'=>$svc_acct->popnum}) + : ''; print "Access number". "". $svc_acct_pop->text. '' if $svc_acct_pop;