Skip to content

Commit

Permalink
Dev: removed API restriction to prevent survey ownership transfer (#832)
Browse files Browse the repository at this point in the history
  • Loading branch information
gekkedev authored and LouisGac committed Oct 9, 2017
1 parent 23d6bd4 commit 3f8dc49
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions application/helpers/remotecontrol/remotecontrol_handle.php
Expand Up @@ -299,7 +299,6 @@ public function get_survey_properties($sSessionKey,$iSurveyID, $aSurveySettings=
* Properties available are restricted
* * Always
* * sid
* * owner_id
* * active
* * language
* * additional_languages
Expand Down Expand Up @@ -333,7 +332,7 @@ public function set_survey_properties($sSessionKey, $iSurveyID, $aSurveyData)
{
// Remove fields that may not be modified
unset($aSurveyData['sid']);
unset($aSurveyData['owner_id']);
//unset($aSurveyData['owner_id']);
unset($aSurveyData['active']);
unset($aSurveyData['language']);
unset($aSurveyData['additional_languages']);
Expand Down

0 comments on commit 3f8dc49

Please sign in to comment.