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

Commit 831c422

Browse files
committed
Fixed the bad call of function 'searchForEntity(...)'
1 parent 6f33524 commit 831c422

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ All notable changes to this project will be documented in this file.
2020

2121
[Fixed]
2222
- Fixed the problem with access to non-secured LDAP
23+
- Fixed the bad call of function 'searchForEntity(...)' in function getVoById() in AdapterLdap.php
2324

2425
## [v1.0.0]
2526

lib/AdapterLdap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public function getVoByShortName($voShortName)
155155

156156
public function getVoById($id)
157157
{
158-
$vo = sspmod_perun_LdapConnector::searchForEntity($this->ldapBase,
158+
$vo = $this->connector->searchForEntity($this->ldapBase,
159159
"(&(objectClass=perunVo)(perunVoId=$id))",
160160
array("o", "description")
161161
);

0 commit comments

Comments
 (0)