Commit e567b7f2 authored by Matija Obreza's avatar Matija Obreza
Browse files

Merge branch 'fix-validate-request' into 'master'

FIX: User cannot validate request

See merge request genesys-pgr/genesys-server!144
parents 0e02db14 f0d83641
......@@ -355,7 +355,7 @@ public class RequestServiceImpl implements RequestService {
String recipient = null;
final Locale recipientLocale = Locale.ENGLISH;
final FaoInstitute institute = instituteService.getInstitute(materialSubRequest.getInstCode());
final FaoInstitute institute = instituteService.findInstitute(materialSubRequest.getInstCode());
final FaoInstituteSetting instMailToSetting = institute.getSettings().get("requests.mailto");
if (instMailToSetting != null) {
recipient = StringUtils.defaultIfBlank(instMailToSetting.getValue(), null);
Markdown is supported
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