work around "prepared statement ... already exists" errors creating tickets from...
[freeside.git] / FS / FS / ClientAPI / MyAccount.pm
index 6619eb1..dfd4640 100644 (file)
@@ -3263,8 +3263,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'}