From: Christopher Burger Date: Thu, 29 Mar 2018 15:54:44 +0000 (-0400) Subject: RT# 78356 - fixed error where no export existed. X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=4157b560fa8745656f4357dc1c5fd1eea02030d0 RT# 78356 - fixed error where no export existed. --- diff --git a/FS/FS/part_export/saisei.pm b/FS/FS/part_export/saisei.pm index 1c95081bd..922a347b6 100644 --- a/FS/FS/part_export/saisei.pm +++ b/FS/FS/part_export/saisei.pm @@ -799,7 +799,7 @@ sub export_provisioned_services { 'table' => 'cust_svc', 'addl_from' => 'LEFT JOIN svc_broadband USING ( svcnum ) ', 'extra_sql' => " WHERE svcpart in ('".$parts."')", - }); + }) unless !$parts; my $svc_count = scalar @svcs;