From a27a15eabfec1303b9f33057be7e772fce6f26ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=B5nis=20Ormisson?= Date: Sat, 6 Jan 2018 16:58:41 +0200 Subject: [PATCH] fix case --- application/models/Participant.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/models/Participant.php b/application/models/Participant.php index f93708a8cbe..1bd8bcfb361 100644 --- a/application/models/Participant.php +++ b/application/models/Participant.php @@ -1462,7 +1462,7 @@ private function updateTokenFieldProperties($surveyId, array $mappedAttributes) foreach ($mappedAttributes as $key => $iIDAttributeCPDB) { if (is_numeric($iIDAttributeCPDB)) { /* Update the attribute descriptions info */ - $tokenAttributes = Survey::findOne($surveyId)->tokenattributes; + $tokenAttributes = Survey::findOne($surveyId)->tokenAttributes; $tokenAttributes[$key]['cpdbmap'] = $iIDAttributeCPDB; Yii::app()->db ->createCommand() @@ -2019,7 +2019,7 @@ public function copyToCentral($surveyid, $aAttributesToBeCreated, $aMapped, $ove } if ($createautomap == "true") { - $aAttributes = Survey::findOne($surveyid)->tokenattributes; + $aAttributes = Survey::findOne($surveyid)->tokenAttributes; if (!empty($aAttributesToBeCreated)) { // If automapping is enabled then update the token field properties with the mapped CPDB field ID foreach ($aAttributesToBeCreated as $tatt => $cpdbatt) {