From 358300f76229098ca4795e542cf187aeb429f44f Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 28 May 2008 10:45:41 +0000 Subject: [PATCH] mailgate realiability fix: don't bomb out when FS dbdef hasn't been initialized yet (& need to import adminsuidsetup) --- htetc/handler.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/htetc/handler.pl b/htetc/handler.pl index 82a0d7abd..3d0f359d8 100644 --- a/htetc/handler.pl +++ b/htetc/handler.pl @@ -130,7 +130,9 @@ sub handler use Locale::Country; use Business::US::USPS::WebTools::AddressStandardization; use FS; - use FS::UID qw(cgisuidsetup dbh getotaker datasrc driver_name); + use FS::UID qw( adminsuidsetup cgisuidsetup getotaker + dbh datasrc driver_name + ); use FS::Record qw(qsearch qsearchs fields dbdef str2time_sql); use FS::Conf; use FS::CGI qw(header menubar popurl rooturl table itable ntable idiot -- 2.11.0