Skip to content

Commit

Permalink
Fixed issue: Remote upload_file does not work
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed May 18, 2018
1 parent a0d900d commit 884cf7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/remotecontrol/remotecontrol_handle.php
Expand Up @@ -2725,7 +2725,7 @@ public function upload_file($sSessionKey, $iSurveyID, $sFieldName, $sFileName, $
}
}

$aFieldMap = createFieldMap($iSurveyID, 'short', false, false, Yii::app()->getConfig('defaultlang'));
$aFieldMap = createFieldMap($oSurvey, 'short', false, false, Yii::app()->getConfig('defaultlang'));
if (!isset($aFieldMap[$sFieldName])) {
return array('status' => 'Can not obtain field map');
}
Expand Down

0 comments on commit 884cf7a

Please sign in to comment.