projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT#28648: Unsuspend when past due balance is paid [new option, Charges not past due]
[freeside.git]
/
rt
/
sbin
/
rt-server.in
diff --git
a/rt/sbin/rt-server.in
b/rt/sbin/rt-server.in
index
0d11f01
..
8caefdb
100644
(file)
--- a/
rt/sbin/rt-server.in
+++ b/
rt/sbin/rt-server.in
@@
-3,7
+3,7
@@
#
# COPYRIGHT:
#
#
# COPYRIGHT:
#
-# This software is Copyright (c) 1996-201
4
Best Practical Solutions, LLC
+# This software is Copyright (c) 1996-201
5
Best Practical Solutions, LLC
# <sales@bestpractical.com>
#
# (Except where explicitly superseded by other copyright notices)
# <sales@bestpractical.com>
#
# (Except where explicitly superseded by other copyright notices)
@@
-138,6
+138,7
@@
EOF
# we must disconnect DB before fork
if ($RT::Handle) {
# we must disconnect DB before fork
if ($RT::Handle) {
+ $RT::Handle->dbh->disconnect if $RT::Handle->dbh;
$RT::Handle->dbh(undef);
undef $RT::Handle;
}
$RT::Handle->dbh(undef);
undef $RT::Handle;
}