X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fbrowse%2Fpart_pkg.cgi;h=ffa0d87c226d503c4822b2e99d518c6c61bd7160;hb=9788b10d423bb3e4c16989b08bcce6f1a78f3d89;hp=48b0ab2b3c80a6ed6f1e76d4d4005586c03ecb5a;hpb=f7fd2a3e34da751cbc02bbf215e99c6dc89adc15;p=freeside.git diff --git a/httemplate/browse/part_pkg.cgi b/httemplate/browse/part_pkg.cgi index 48b0ab2b3..ffa0d87c2 100755 --- a/httemplate/browse/part_pkg.cgi +++ b/httemplate/browse/part_pkg.cgi @@ -89,8 +89,7 @@ my $taxclasses = $conf->exists('enable_taxclasses'); <% foreach my $part_pkg ( sort $sortby @part_pkg ) { - my(@pkg_svc)=grep $_->getfield('quantity'), - qsearch( 'pkg_svc', { 'pkgpart' => $part_pkg->pkgpart } ); + my @pkg_svc = $part_pkg->pkg_svc; my($rowspan)=scalar(@pkg_svc); my $plandata; if ( $part_pkg->plan ) {