From 3f40b9449b636873b3fa54595db7fb8fb83f7e69 Mon Sep 17 00:00:00 2001 From: SchreiberM Date: Wed, 24 Apr 2024 08:07:27 +0200 Subject: [PATCH] MS PARTY_MODULES = 1 --- EnvelopeGenerator.Service/Service.vb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EnvelopeGenerator.Service/Service.vb b/EnvelopeGenerator.Service/Service.vb index 6884c2cc..a1d93ad3 100644 --- a/EnvelopeGenerator.Service/Service.vb +++ b/EnvelopeGenerator.Service/Service.vb @@ -48,7 +48,7 @@ Public Class Service Throw New ApplicationException("Database connection could not be established!") End If - Dim oKey = Database.GetScalarValue("SELECT LICENSE FROM TBDD_3RD_PARTY_MODULES WHERE NAME = 'GDPICTURE'") + Dim oKey = Database.GetScalarValue("SELECT LICENSE FROM TBDD_3RD_PARTY_MODULES WHERE NAME = 'GDPICTURE' and ACTIVE = 1") If String.IsNullOrWhiteSpace(oKey) Then Throw New ApplicationException("GDPicture License could not be loaded!")