From 8b73e6949578e5f206d3ae8d5871bd6d6c0744fc Mon Sep 17 00:00:00 2001 From: Nico Verbruggen Date: Mon, 9 May 2022 15:27:55 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20issue=20with=20listing=20e?= =?UTF-8?q?xtensions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- phpmon/Common/PHP/ActivePhpInstallation.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpmon/Common/PHP/ActivePhpInstallation.swift b/phpmon/Common/PHP/ActivePhpInstallation.swift index 0a780b5..73b60dd 100644 --- a/phpmon/Common/PHP/ActivePhpInstallation.swift +++ b/phpmon/Common/PHP/ActivePhpInstallation.swift @@ -61,7 +61,7 @@ class ActivePhpInstallation { // See if any extensions are present in said .ini files paths.forEach { (iniFilePath) in let loadedExtensions = PhpExtension.load(from: URL(fileURLWithPath: iniFilePath)) - if loadedExtensions.isEmpty { + if !loadedExtensions.isEmpty { extensions.append(contentsOf: loadedExtensions) } }