From ee9fce83cd59fea461ea4c0a17e0e205c19f50f9 Mon Sep 17 00:00:00 2001 From: Aaron Bauman <aaron@messageagency.com> Date: Mon, 25 Feb 2019 15:45:14 -0500 Subject: [PATCH] Restore #2975835 from 3.x --- src/Rest/RestClient.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Rest/RestClient.php b/src/Rest/RestClient.php index 490cec04..56d36572 100644 --- a/src/Rest/RestClient.php +++ b/src/Rest/RestClient.php @@ -404,6 +404,9 @@ class RestClient implements RestClientInterface { } } } + else { + $sobjects[$object['name']] = $object; + } } return $sobjects; } -- GitLab