Merge branch 'master' of gitea:museum-digital/MDAllowedValueSets
This commit is contained in:
commit
0698b6e487
1 file changed
+2
-1
@@ -60,6 +60,7 @@ public static function fromString(string $input):MDNodaRepository {
|
||||
'cona' => self::cona,
|
||||
'edition humboldt digital' => self::editionhumboldtdigital,
|
||||
'gnd' => self::gnd,
|
||||
'GND' => self::gnd,
|
||||
'grobsystematik' => self::grobsystematik,
|
||||
'iconclass' => self::iconclass,
|
||||
'lcsh' => self::lcsh,
|
||||
@@ -83,7 +84,7 @@ public static function fromString(string $input):MDNodaRepository {
|
||||
'viaf' => self::viaf,
|
||||
'wikidata' => self::wikidata,
|
||||
'Wikipedia' => self::wikipedia,
|
||||
default => throw new MDpageParameterNotFromListException("Unknown noda repository: " . $input),
|
||||
default => throw new MDpageParameterNotFromListException("Unknown noda repository: '" . $input . "'"),
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user