Zooflow: Fix pm path

This commit is contained in:
Jonathan Jenne 2022-03-17 11:07:04 +01:00
parent dbd33ceed4
commit 0b1bd49990

View File

@ -69,12 +69,12 @@ Public Class ClassModules
End Function
Private Function GetProductPathFor(pProduct As Product, pSubKey As String) As String
Dim oPathFromRegistry = GetProductPathFromRegistryFor(pSubKey)
Dim oPathFromConfig = GetProductPathFromConfig(pProduct)
If oPathFromRegistry IsNot Nothing Then
Return oPathFromRegistry
Else
Return GetProductPathFromConfig(pProduct)
Return GetProductPathFromRegistryFor(pSubKey)
End If
End Function