From ce63c32e4a3d0d83965473db44827bc2c8955f28 Mon Sep 17 00:00:00 2001 From: John Kirk Date: Sun, 20 Nov 2016 03:23:02 +0000 Subject: [PATCH] Made sure that array_merge accepts two arrays as expected. --- CRM/Extension/Manager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Extension/Manager.php b/CRM/Extension/Manager.php index 013c9aa9a0..3306908dee 100644 --- a/CRM/Extension/Manager.php +++ b/CRM/Extension/Manager.php @@ -614,7 +614,7 @@ class CRM_Extension_Manager { } elseif ($info && $info->requires) { $sorter->add($key, $info->requires); - $todoKeys = array_merge($todoKeys, $info->requires); + $todoKeys = array_merge($todoKeys, array($info->requires)); } else { $sorter->add($key, array()); -- 2.25.1