projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9696e3
)
Wenn get_standard_dbh() merkt, dass $standard_dbh zwar definiert ist aber zwischenzei...
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 20 Mar 2008 09:13:33 +0000
(09:13 +0000)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Thu, 20 Mar 2008 09:13:33 +0000
(09:13 +0000)
SL/Form.pm
patch
|
blob
|
history
diff --git
a/SL/Form.pm
b/SL/Form.pm
index
37c60e9
..
65be258
100644
(file)
--- a/
SL/Form.pm
+++ b/
SL/Form.pm
@@
-1412,6
+1412,11
@@
sub get_standard_dbh {
my ($self, $myconfig) = @_;
+ if ($standard_dbh && !$standard_dbh->{Active}) {
+ $main::lxdebug->message(LXDebug::INFO, "get_standard_dbh: \$standard_dbh is defined but not Active anymore");
+ undef $standard_dbh;
+ }
+
$standard_dbh ||= $self->dbconnect_noauto($myconfig);
$main::lxdebug->leave_sub(2);