work around "prepared statement ... already exists" errors creating tickets from...
authorIvan Kohler <ivan@freeside.biz>
Sun, 15 Jun 2014 08:03:58 +0000 (01:03 -0700)
committerIvan Kohler <ivan@freeside.biz>
Sun, 15 Jun 2014 08:03:58 +0000 (01:03 -0700)
FS/FS/ClientAPI/MyAccount.pm

index ad1f72f..4ddbb5b 100644 (file)
@@ -3259,8 +3259,8 @@ sub create_ticket {
   my($context, $session, $custnum) = _custoragent_session_custnum($p);
   return { 'error' => $session } if $context eq 'error';
 
-#  warn "$me create_ticket: initializing ticket system\n" if $DEBUG;
-#  FS::TicketSystem->init();
+  warn "$me create_ticket: initializing ticket system\n" if $DEBUG;
+  FS::TicketSystem->init();
 
   my $conf = new FS::Conf;
   my $queue = $p->{'queue'}