projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*finally* seems to be working under Mason. sheesh.
[freeside.git]
/
httemplate
/
search
/
cust_pkg.cgi
diff --git
a/httemplate/search/cust_pkg.cgi
b/httemplate/search/cust_pkg.cgi
index
b2199e9
..
54e02ce
100755
(executable)
--- a/
httemplate/search/cust_pkg.cgi
+++ b/
httemplate/search/cust_pkg.cgi
@@
-1,4
+1,3
@@
-<!-- $Id: cust_pkg.cgi,v 1.14 2002-02-09 18:24:02 ivan Exp $ -->
<%
my $conf = new FS::Conf;
<%
my $conf = new FS::Conf;
@@
-78,8
+77,14
@@
if ( scalar(@cust_pkg) == 1 ) {
print $cgi->redirect(popurl(2). "view/cust_pkg.cgi?$pkgnum");
#exit;
} elsif ( scalar(@cust_pkg) == 0 ) { #error
print $cgi->redirect(popurl(2). "view/cust_pkg.cgi?$pkgnum");
#exit;
} elsif ( scalar(@cust_pkg) == 0 ) { #error
+%>
+<!-- mason kludge -->
+<%
eidiot("No packages found");
} else {
eidiot("No packages found");
} else {
+%>
+<!-- mason kludge -->
+<%
$total ||= scalar(@cust_pkg);
#begin pager
$total ||= scalar(@cust_pkg);
#begin pager