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:
1682d89
)
get_standard_dbh nimmt jetzt myconfig optional. default uf die globale.
author
Sven Schöling
<s.schoeling@linet-services.de>
Mon, 4 Jan 2010 14:37:43 +0000
(15:37 +0100)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Tue, 20 Jul 2010 09:49:23 +0000
(11:49 +0200)
(das war so überfällig)
SL/Form.pm
patch
|
blob
|
history
diff --git
a/SL/Form.pm
b/SL/Form.pm
index
6a5745b
..
6d2ae49
100644
(file)
--- a/
SL/Form.pm
+++ b/
SL/Form.pm
@@
-1580,7
+1580,8
@@
sub dbconnect_noauto {
sub get_standard_dbh {
$main::lxdebug->enter_sub(2);
- my ($self, $myconfig) = @_;
+ my $self = shift;
+ my $myconfig = shift || \%::myconfig;
if ($standard_dbh && !$standard_dbh->{Active}) {
$main::lxdebug->message(LXDebug->INFO(), "get_standard_dbh: \$standard_dbh is defined but not Active anymore");