Skip to content

Commit

Permalink
Merge pull request #951 from pphysch/xdmod8.5
Browse files Browse the repository at this point in the history
Fixed loading the organization abbrevation from organization.json
  • Loading branch information
jpwhite4 authored Jun 26, 2020
2 parents 2ab2bdf + c6d85c7 commit 6d6ec85
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion configuration/linker.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,11 @@ function global_uncaught_exception_handler($exception)
CONFIG_DIR
);
define('ORGANIZATION_NAME', $org['name']);
define('ORGANIZATION_NAME_ABBREV', $org['name']);
$org_abbrev = $org['abbrev'];
if (empty($org_abbrev)) {
$org_abbrev = ORGANIZATION_NAME;
};
define('ORGANIZATION_NAME_ABBREV', $org_abbrev);

$hierarchy = \Configuration\XdmodConfiguration::assocArrayFactory(
'hierarchy.json',
Expand Down

0 comments on commit 6d6ec85

Please sign in to comment.