securis/src/main/java/net/curisit/securis/services/LicenseResource.java
.. .. @@ -592,7 +592,7 @@ 592 592 } 593 593 594 594 private License getCurrentLicense(Integer licId, BasicSecurityContext bsc, EntityManager em) throws SeCurisServiceException { 595 - if (licId == null || "".equals(licId)) {595 + if (licId == null || "".equals(Integer.toString(licId))) {596 596 LOG.error("License ID is mandatory"); 597 597 throw new SeCurisServiceException(Status.NOT_FOUND.getStatusCode(), "Missing license ID"); 598 598 }