Skip to content

Commit

Permalink
Merge pull request #284 from gabrieljenik/patch-10
Browse files Browse the repository at this point in the history
Dev: Fixed RemoteControl2::set_question_properties() invokation to Question::model()->updateQuestionOrder.
  • Loading branch information
c-schmitz committed Feb 25, 2015
2 parents 35e6984 + 47577e4 commit f01d67d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/remotecontrol/remotecontrol_handle.php
Expand Up @@ -1497,7 +1497,7 @@ public function set_question_properties($sSessionKey, $iQuestionID, $aQuestionDa
try
{
$bSaveResult=$oQuestion->save(); // save the change to database
Question::model()->updateQuestionOrder($oQuestion->gid, $oQuestion->sid);
Question::model()->updateQuestionOrder($oQuestion->gid, $oQuestion->language);
$aResult[$sFieldName]=$bSaveResult;
//unset fields that failed
if (!$bSaveResult)
Expand Down

0 comments on commit f01d67d

Please sign in to comment.