Commit 2b0eca84 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Fix unit test

parent 5a1d93ec
Pipeline #6799 passed with stage
in 1 minute and 51 seconds
......@@ -100,9 +100,9 @@ class Config {
}
// Set default from baseUrl if not given
if ($config[SYSTEM_BASE_URL] === '') {
if (($config[SYSTEM_BASE_URL] ?? '') === '') {
$config[SYSTEM_BASE_URL] = OnString::urlStripFile($_SERVER["SCRIPT_URI"]);
$config[SYSTEM_BASE_URL] = OnString::urlStripFile($_SERVER["SCRIPT_URI"] ?? '');
T3Handler::updateT3QfqConfig(SYSTEM_BASE_URL, $config[SYSTEM_BASE_URL]); // Legacy behaviour.
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment