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 End Function
Private Function GetProductPathFor(pProduct As Product, pSubKey As String) As String Private Function GetProductPathFor(pProduct As Product, pSubKey As String) As String
Dim oPathFromRegistry = GetProductPathFromRegistryFor(pSubKey) Dim oPathFromConfig = GetProductPathFromConfig(pProduct)
If oPathFromRegistry IsNot Nothing Then If oPathFromRegistry IsNot Nothing Then
Return oPathFromRegistry Return oPathFromRegistry
Else Else
Return GetProductPathFromConfig(pProduct) Return GetProductPathFromRegistryFor(pSubKey)
End If End If
End Function End Function