Skip to content

Commit

Permalink
Fix indenting. From tabs to spaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrieljenik committed Feb 23, 2015
1 parent 351abb3 commit 0c94a87
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions application/helpers/remotecontrol/remotecontrol_handle.php
Expand Up @@ -1495,12 +1495,12 @@ public function set_question_properties($sSessionKey, $iQuestionID, $aQuestionDa
$is_criteria_question=getQuestDepsForConditions($oQuestion->sid,$oQuestion->gid,"all",$iQuestionID,"by-targqid");
//We do not allow questions with dependencies in the same group to change order - that would lead to broken dependencies

if ((isset($dependencies) || isset($is_criteria_question)) && $sFieldName == 'question_order'){
$aResult[$sFieldName] = 'Questions with dependencies - Order cannot be changed';
continue;
}
$oQuestion->setAttribute($sFieldName, $sValue);
if ((isset($dependencies) || isset($is_criteria_question)) && $sFieldName == 'question_order'){
$aResult[$sFieldName] = 'Questions with dependencies - Order cannot be changed';
continue;
}
$oQuestion->setAttribute($sFieldName, $sValue);

try
{
Expand Down

0 comments on commit 0c94a87

Please sign in to comment.