correct fallout from duplicate line items
[freeside.git] / httemplate / search / cust_bill_pkg.cgi
index 74efe4f..2354be9 100644 (file)
@@ -70,6 +70,8 @@ my $agentnums_sql =
 
 my @where = ( $agentnums_sql );
 
+push @where, "(duplicate IS NULL OR duplicate = '' )";
+
 my($beginning, $ending) = FS::UI::Web::parse_beginning_ending($cgi);
 push @where, "_date >= $beginning",
              "_date <= $ending";