diff options
Diffstat (limited to 'httemplate/search/cust_pkg.cgi')
-rwxr-xr-x | httemplate/search/cust_pkg.cgi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/httemplate/search/cust_pkg.cgi b/httemplate/search/cust_pkg.cgi index 6b25fec03..54e02ce9d 100755 --- a/httemplate/search/cust_pkg.cgi +++ b/httemplate/search/cust_pkg.cgi @@ -77,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 +%> +<!-- mason kludge --> +<% eidiot("No packages found"); } else { +%> +<!-- mason kludge --> +<% $total ||= scalar(@cust_pkg); #begin pager |