mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
use correct license when one is not supplied
This commit is contained in:
@@ -183,7 +183,7 @@ public class PackageUtils {
|
||||
Item item, Collection collection)
|
||||
throws SQLException, IOException, AuthorizeException {
|
||||
if (license == null) {
|
||||
license = collection.getLicenseCollection();
|
||||
license = collectionService.getLicense(collection);
|
||||
}
|
||||
InputStream lis = new ByteArrayInputStream(license.getBytes());
|
||||
|
||||
|
Reference in New Issue
Block a user