From ddadcdc4936f2a1f3349e69cf60a97115326d023 Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Mon, 5 Dec 2022 19:33:21 +0100 Subject: [PATCH] Make code compatible with TYPO3 v12 --- home/files/typo3-configuration/Database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/files/typo3-configuration/Database.php b/home/files/typo3-configuration/Database.php index 5c7bc3d..5716afd 100644 --- a/home/files/typo3-configuration/Database.php +++ b/home/files/typo3-configuration/Database.php @@ -17,7 +17,7 @@ $GLOBALS['TYPO3_CONF_VARS']['DB']['Connections']['Default'] = [ 'host' => $GLOBALS['TYPO3_CONF_VARS']['DB']['host'], 'password' => $GLOBALS['TYPO3_CONF_VARS']['DB']['password'], 'user' => $GLOBALS['TYPO3_CONF_VARS']['DB']['username'], - 'port' => $GLOBALS['TYPO3_CONF_VARS']['DB']['port'] ?? '', + 'port' => $GLOBALS['TYPO3_CONF_VARS']['DB']['port'] ?? null, 'socket' => $GLOBALS['TYPO3_CONF_VARS']['DB']['socket'], 'unix_socket' => $GLOBALS['TYPO3_CONF_VARS']['DB']['socket'], 'driver' => 'mysqli',