From 89671800c6d235af426edb333933f1fe098b0caf Mon Sep 17 00:00:00 2001 From: Benn Oshrin Date: Fri, 13 Sep 2019 21:13:55 -0400 Subject: [PATCH] Fix type casting (NOJIRA) --- app/src/Controller/TierApiController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/Controller/TierApiController.php b/app/src/Controller/TierApiController.php index 4003384df..56d9253c9 100644 --- a/app/src/Controller/TierApiController.php +++ b/app/src/Controller/TierApiController.php @@ -280,7 +280,7 @@ protected function doMatchRequest(bool $searchOnly=false) { if(!$searchOnly) { // This should also correctly handle an update match attribute request // that did not originally have a referenceid - $MatchService->attachReferenceId($sor, $sorid, $AttributeManager, $refIds[0]); + $MatchService->attachReferenceId($sor, $sorid, $AttributeManager, (string)$refIds[0]); } $result = ['referenceId' => $refIds[0]];