fix advanced package report, RT#40292, fallout from RT#20173
[freeside.git] / httemplate / search / cust_main.cgi
index 2e81a4a..11cd3a3 100755 (executable)
@@ -518,6 +518,7 @@ my $addl_from = qq{
            AND recur_option.optionname = 'recur_fee' )
 };
 
+local($FS::cust_pkg::cache_enabled) = 1; #for $cust_pkg->part_pkg
 my %all_pkgs = map { $_->custnum =>
                        [ $_->$pkgs_method({ select    => $select,
                                             addl_from => $addl_from,