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

Commit 1040659

Browse files
Merge pull request #102 from BaranekD/fix
Fix - bad variable in the text of exception
2 parents 4da1102 + 0a45919 commit 1040659

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/AdapterLdap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ public function getVoByShortName($voShortName)
195195
['perunVoId', 'o', 'description']
196196
);
197197
if ($vo === null) {
198-
throw new Exception('Vo with name: ' . $vo . ' does not exists in Perun LDAP.');
198+
throw new Exception('Vo with name: ' . $voShortName . ' does not exists in Perun LDAP.');
199199
}
200200

201201
return new Vo($vo['perunVoId'][0], $vo['description'][0], $vo['o'][0]);

0 commit comments

Comments
 (0)