mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-13 13:03:11 +00:00
Merge pull request #7929 from TexasDigitalLibrary/DS-3643-7x
DS-3643: Use correct license on ingest (7.x)
This commit is contained in:
@@ -183,7 +183,7 @@ public class PackageUtils {
|
|||||||
Item item, Collection collection)
|
Item item, Collection collection)
|
||||||
throws SQLException, IOException, AuthorizeException {
|
throws SQLException, IOException, AuthorizeException {
|
||||||
if (license == null) {
|
if (license == null) {
|
||||||
license = collection.getLicenseCollection();
|
license = collectionService.getLicense(collection);
|
||||||
}
|
}
|
||||||
InputStream lis = new ByteArrayInputStream(license.getBytes());
|
InputStream lis = new ByteArrayInputStream(license.getBytes());
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user