From dffbaa7c8c4f25c8b6c8ee142c4e6d00e37af3f5 Mon Sep 17 00:00:00 2001 From: monishdeb Date: Sat, 4 Jul 2015 20:00:02 +0530 Subject: [PATCH] api failure fixes --- CRM/Contact/BAO/Query.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contact/BAO/Query.php b/CRM/Contact/BAO/Query.php index 7e1a52a91f..b50ad4c83d 100644 --- a/CRM/Contact/BAO/Query.php +++ b/CRM/Contact/BAO/Query.php @@ -5654,7 +5654,7 @@ AND displayRelType.is_active = 1 $qillString = array(); if (!empty($pseduoOptions)) { foreach ((array) $fieldValue as $val) { - $qillString[] = $pseduoOptions[$val]; + $qillString[] = CRM_Utils_Array::value($val, $pseduoOptions, $val); } $fieldValue = implode(', ', $qillString); } -- 2.25.1