Skip to content

Commit

Permalink
Add/Edit Timetable Manager
Browse files Browse the repository at this point in the history
External Manager Lookup: only reset the email address (to the one from the LDAP directory) when it is left blank
  • Loading branch information
tomas-muller committed Aug 5, 2024
1 parent 4ced25d commit 60b32d9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,9 @@ private void lookupManager() throws Exception{
if (form.getTitle() == null || form.getTitle().trim().length() == 0){
form.setTitle(results.getAcademicTitle());
}
form.setEmail(results.getEmail());
if (form.getEmail() == null || form.getEmail().trim().length() == 0){
form.setEmail(results.getEmail());
}
}
} catch (Exception e) {
Debug.error(MSG.errorLookupManager(e.getMessage()), e);
Expand Down
9 changes: 9 additions & 0 deletions WebContent/help/Release-Notes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,15 @@
</description>
</item>
</category>
<category>
<title>Administration</title>
<item>
<name>Add/Edit Timetable Manager</name>
<description>
<line>External Manager Lookup: Only reset the email address (to the one from the LDAP directory) when it is left blank.</line>
</description>
</item>
</category>
</release>
<release>
<version>4.8.147</version>
Expand Down

0 comments on commit 60b32d9

Please sign in to comment.