openrat-cms

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

commit e7483bc4ff7f0864b0f5afaaf0d4b54f65002bd5
parent d6346ab3428421ff897657b75e45082ef6d56c5f
Author: Jan Dankert <develop@jandankert.de>
Date:   Thu, 19 Nov 2020 11:16:41 +0100

Fix for the 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 ( isset($enabledDbids[$dbid]) ) { + if ( in_array($dbid,$enabledDbids) ) { $dbConfig = $allDbConfig->subset( $dbid );