-<!-- $Id: quick-cust_pkg.cgi,v 1.4 2002-01-30 14:18:09 ivan Exp $ -->
<%
#untaint custnum
my $error = FS::cust_pkg::order($custnum, [ $pkgpart ], [], \@cust_pkg, );
if ($error) {
+%>
+<!-- mason kludge -->
+<%
eidiot($error);
} else {
print $cgi->redirect(popurl(3). "view/cust_pkg.cgi?". $cust_pkg[0]->pkgnum );