[freeside-commits] branch FREESIDE_3_BRANCH updated. 4fb0a520e352f458103a55729e437787f8ac39cf
Ivan
ivan at 420.am
Sun Jun 15 01:03:59 PDT 2014
The branch, FREESIDE_3_BRANCH has been updated
via 4fb0a520e352f458103a55729e437787f8ac39cf (commit)
from de2f36e6e2e88ddcd2434f3758c5608197f7dfb0 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 4fb0a520e352f458103a55729e437787f8ac39cf
Author: Ivan Kohler <ivan at freeside.biz>
Date: Sun Jun 15 01:03:58 2014 -0700
work around "prepared statement ... already exists" errors creating tickets from self-service API at the cost of performance, RT#27856
diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm
index ad1f72f..4ddbb5b 100644
--- a/FS/FS/ClientAPI/MyAccount.pm
+++ b/FS/FS/ClientAPI/MyAccount.pm
@@ -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'}
-----------------------------------------------------------------------
Summary of changes:
FS/FS/ClientAPI/MyAccount.pm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
More information about the freeside-commits
mailing list