Skip to content

Commit

Permalink
Fixed issue #8658: get_participant_properties RemoteControl API funct…
Browse files Browse the repository at this point in the history
…ion returns incorrect response
  • Loading branch information
c-schmitz committed Feb 4, 2014
1 parent 609676a commit 95ef6d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/remotecontrol/remotecontrol_handle.php
Expand Up @@ -1656,7 +1656,7 @@ public function get_participant_properties($sSessionKey, $iSurveyID, $iTokenID,
if (!isset($token))
return array('status' => 'Error: Invalid tokenid');

$result = array_intersect_key(array_flip($aTokenProperties), $token->attributes);
$result = array_intersect_key($token->attributes, array_flip($aTokenProperties));
if (empty($result))
{
return array('status' => 'No valid Data');
Expand Down

0 comments on commit 95ef6d4

Please sign in to comment.