From 456e90978d99ed48144aaa0a7cbf52e8d6da7803 Mon Sep 17 00:00:00 2001 From: Herb vd Dool Date: Wed, 9 Oct 2019 09:29:49 -0400 Subject: [PATCH] only try to build filePath if empty --- CRM/Extension/Mapper.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CRM/Extension/Mapper.php b/CRM/Extension/Mapper.php index f554daca2a..1b939fe0c7 100644 --- a/CRM/Extension/Mapper.php +++ b/CRM/Extension/Mapper.php @@ -316,7 +316,9 @@ class CRM_Extension_Mapper { // Since we're not caching the full path we add it now. array_walk($moduleExtensions, function(&$value, $key) { try { - $value['filePath'] = $this->keyToPath($value['fullName']); + if (!$value['filePath']) { + $value['filePath'] = $this->keyToPath($value['fullName']); + } } catch (CRM_Extension_Exception $e) { // Putting a stub here provides more consistency -- 2.25.1