diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 8a14ac294..09e628581 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -18,6 +18,7 @@ appropriately. This fixes the problem with CS posts sent via e-mail showing two versions of the same post. - fix: Styles were printing double head block headers. + - fix: DB slaves were not being instanciated correctly. 7.3.3 - fix: Wiki Purge throws fatal diff --git a/lib/WebGUI/Session.pm b/lib/WebGUI/Session.pm index 3a55ea469..bd5c8418a 100644 --- a/lib/WebGUI/Session.pm +++ b/lib/WebGUI/Session.pm @@ -186,7 +186,7 @@ sub dbSlave { foreach (1..3) { my $slave = $self->config->get("dbslave".$_); if (exists $slave->{dsn}) { - push(@{$self->{_slave}},$self->db->connect($self, $slave->{dsn},$slave->{user},$slave->{pass})); + push(@{$self->{_slave}},WebGUI::SQL->connect($self, $slave->{dsn},$slave->{user},$slave->{pass})); } } }