Merge pull request #1147 from rasika/fix-1553

Fixing cannot publish policies without enrolling a device
4.x.x
Rasika Perera 7 years ago committed by GitHub
commit 83ae57a044
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -558,7 +558,7 @@ public class DeviceManagementProviderServiceImpl implements DeviceManagementProv
DeviceManagementDAOFactory.closeConnection();
}
if (requireDeviceInfo) {
if (!allDevices.isEmpty() && requireDeviceInfo) {
return this.getAllDeviceInfo(allDevices);
}
return allDevices;

Loading…
Cancel
Save