projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a3d47fd
)
YA pg7.3 fix
author
ivan
<ivan>
Fri, 18 Apr 2003 03:29:24 +0000
(
03:29
+0000)
committer
ivan
<ivan>
Fri, 18 Apr 2003 03:29:24 +0000
(
03:29
+0000)
httemplate/view/svc_acct.cgi
patch
|
blob
|
history
diff --git
a/httemplate/view/svc_acct.cgi
b/httemplate/view/svc_acct.cgi
index
2e324c1
..
f04e471
100755
(executable)
--- a/
httemplate/view/svc_acct.cgi
+++ b/
httemplate/view/svc_acct.cgi
@@
-1,4
+1,4
@@
-<
!
-- mason kludge -->
+<-- mason kludge -->
<%
my $conf = new FS::Conf;
<%
my $conf = new FS::Conf;
@@
-140,7
+140,9
@@
if ( $conf->exists('security_phrase') ) {
$svc_acct->sec_phrase. '</TD></TR>';
}
$svc_acct->sec_phrase. '</TD></TR>';
}
-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 "<TR><TD ALIGN=\"right\">Access number</TD>".
"<TD BGCOLOR=\"#ffffff\">". $svc_acct_pop->text. '</TD></TR>'
if $svc_acct_pop;
print "<TR><TD ALIGN=\"right\">Access number</TD>".
"<TD BGCOLOR=\"#ffffff\">". $svc_acct_pop->text. '</TD></TR>'
if $svc_acct_pop;