openrat-cms

OpenRat Content Management System
git clone http://git.code.weiherhei.de/openrat-cms.git
Log | Files | Refs | README

commit d6346ab3428421ff897657b75e45082ef6d56c5f
parent e6b044a0fbbd0f08ca2e7f7f7c2b11f251a82ddd
Author: Jan Dankert <develop@jandankert.de>
Date:   Thu, 19 Nov 2020 11:12:31 +0100

Fix: DB connections must be enabled.

Diffstat:
Mmodules/cms/Dispatcher.class.php | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/cms/Dispatcher.class.php b/modules/cms/Dispatcher.class.php @@ -408,7 +408,7 @@ class Dispatcher $possibleDbIds[] = $enabledDbids[0]; foreach( $possibleDbIds as $dbid ) { - if ( $allDbConfig->has( $dbid ) ) { + if ( isset($enabledDbids[$dbid]) ) { $dbConfig = $allDbConfig->subset( $dbid );