Skip to content
Snippets Groups Projects
Unverified Commit abaa4b50 authored by Pavel Vyskočil's avatar Pavel Vyskočil
Browse files

Fixed bad check for MULTI_IDP mode

parent 3cfe898b
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
## [Unreleased] ## [Unreleased]
#### Fixed
- Fixed bad check for MULTI_IDP mode
## [v4.2.0] ## [v4.2.0]
#### Added #### Added
......
...@@ -239,7 +239,7 @@ class DatabaseCommand ...@@ -239,7 +239,7 @@ class DatabaseCommand
if ($this->mode === Config::MODE_MULTI_IDP) { if ($this->mode === Config::MODE_MULTI_IDP) {
$entities[Config::MODE_IDP] = $this->config->getSideInfo(Config::MODE_IDP); $entities[Config::MODE_IDP] = $this->config->getSideInfo(Config::MODE_IDP);
if (empty($entities[$this->mode]['id']) || empty($entities[$this->mode]['name'])) { if (empty($entities[Config::MODE_IDP]['id']) || empty($entities[Config::MODE_IDP]['name'])) {
Logger::error('Invalid configuration (id, name) for ' . $this->mode); Logger::error('Invalid configuration (id, name) for ' . $this->mode);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment