fix advanced customer report failure, RT#5515
authorivan <ivan>
Mon, 22 Jun 2009 22:55:05 +0000 (22:55 +0000)
committerivan <ivan>
Mon, 22 Jun 2009 22:55:05 +0000 (22:55 +0000)
FS/FS/Mason.pm
httemplate/search/cust_main.html

index 90c8657..2a22bfd 100644 (file)
@@ -57,7 +57,7 @@ Initializes the Mason environment, loads all Freeside and RT libraries, etc.
   use DateTime::Format::Strptime;
   use Lingua::EN::Inflect qw(PL);
   use Tie::IxHash;
-  use URI::URL;
+  use URI;
   use URI::Escape;
   use HTML::Entities;
   use HTML::TreeBuilder;
index 3282f0f..0625a12 100755 (executable)
@@ -97,7 +97,7 @@ my $menubar = [];
 
 if ( $FS::CurrentUser::CurrentUser->access_right('Bulk send customer notices') ) {
 
-  my $uri = new URI::URL;
+  my $uri = new URI;
   $uri->query_form( \%search_hash );
   my $query = $uri->query;