summaryrefslogtreecommitdiff
path: root/FS/FS/ClientAPI
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2014-06-15 01:03:56 -0700
committerIvan Kohler <ivan@freeside.biz>2014-06-15 01:03:56 -0700
commit9686d044b747a9365de4b2c043d6c1e33b5c76a1 (patch)
treed87d9fa1929f30cb9949b10755bdaaa13f631297 /FS/FS/ClientAPI
parent744e9fb8c29e765e4006a552b371191d415f05ef (diff)
work around "prepared statement ... already exists" errors creating tickets from self-service API at the cost of performance, RT#27856
Diffstat (limited to 'FS/FS/ClientAPI')
-rw-r--r--FS/FS/ClientAPI/MyAccount.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm
index 6619eb1..dfd4640 100644
--- a/FS/FS/ClientAPI/MyAccount.pm
+++ b/FS/FS/ClientAPI/MyAccount.pm
@@ -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'}