projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
903fb4a
)
Can't pull out of thin air.
author
khoff
<khoff>
Tue, 6 May 2003 20:33:03 +0000
(20:33 +0000)
committer
khoff
<khoff>
Tue, 6 May 2003 20:33:03 +0000
(20:33 +0000)
httemplate/view/cust_main_alt.cgi
patch
|
blob
|
history
diff --git
a/httemplate/view/cust_main_alt.cgi
b/httemplate/view/cust_main_alt.cgi
index
80fa49e
..
01e46b5
100644
(file)
--- a/
httemplate/view/cust_main_alt.cgi
+++ b/
httemplate/view/cust_main_alt.cgi
@@
-371,7
+371,7
@@
print qq!<BR><A NAME="cust_pkg">Packages</A> !,
#get package info
-my $packages = get_packages();
+my $packages = get_packages(
$cust_main
);
if ( @$packages ) {
%>
@@
-673,6
+673,8
@@
sub keyfield_numerically { (split(/\t/,$a))[0] <=> (split(/\t/,$b))[0]; }
sub get_packages {
+my $cust_main = shift or return undef;
+
my @packages = ();
foreach my $cust_pkg (($conf->exists('hidecancelledpackages') ? ($cust_main->ncancelled_pkgs)