Skip to content

Commit

Permalink
Merge branch '25.02.00' into 25.02.10
Browse files Browse the repository at this point in the history
  • Loading branch information
mdnoble73 committed Feb 18, 2025
2 parents ded7ad3 + 1bba333 commit 7b90225
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions code/web/release_notes/25.02.00.MD
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
- Display a popup message to patrons if app settings cannot be loaded when loading LiDA. (DIS-268) (*MDN*)
- When copying .env files during the build process, check for local .env files (prefixed by the slug). (DIS-270) (*MDN*)
- Pass app slug to Aspen Discovery as a header. (DIS-270) (*MDN*)
- Added check to make sure `$catalog` is not null before calling `hasIlsConsentSupport()` in `Library.php`. (DIS-394) (*LS*)

## Aspen Discovery Updates
### Account Updates
Expand Down
2 changes: 1 addition & 1 deletion code/web/sys/LibraryLocation/Library.php
Original file line number Diff line number Diff line change
Expand Up @@ -4185,7 +4185,7 @@ static function getObjectStructure($context = ''): array {
if (!array_key_exists('Single sign-on', $enabledModules)) {
unset($structure['ssoSection']);
}
if (!$catalog->hasIlsConsentSupport()) {
if ($catalog && !$catalog->hasIlsConsentSupport()) {
unset($structure['dataProtectionRegulations']['properties']['ilsConsentEnabled']);
}

Expand Down

0 comments on commit 7b90225

Please sign in to comment.