Skip to content
This repository was archived by the owner on Sep 19, 2022. It is now read-only.

Commit abaa4b5

Browse files
committed
Fixed bad check for MULTI_IDP mode
1 parent 3cfe898 commit abaa4b5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
All notable changes to this project will be documented in this file.
33

44
## [Unreleased]
5+
#### Fixed
6+
- Fixed bad check for MULTI_IDP mode
57

68
## [v4.2.0]
79
#### Added

lib/DatabaseCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ private function getEntities($request)
239239

240240
if ($this->mode === Config::MODE_MULTI_IDP) {
241241
$entities[Config::MODE_IDP] = $this->config->getSideInfo(Config::MODE_IDP);
242-
if (empty($entities[$this->mode]['id']) || empty($entities[$this->mode]['name'])) {
242+
if (empty($entities[Config::MODE_IDP]['id']) || empty($entities[Config::MODE_IDP]['name'])) {
243243
Logger::error('Invalid configuration (id, name) for ' . $this->mode);
244244
}
245245
}

0 commit comments

Comments
 (0)