Skip to content

Commit

Permalink
Fixed issue #6767: Error when attempting to view survey logic file.
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Oct 25, 2012
1 parent 25eadf4 commit 34f2bc6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
Expand Up @@ -8,11 +8,6 @@
}
$_REQUEST['LEM_PRETTY_PRINT_ALL_SYNTAX'] = 'Y';

$surveyinfo = getSurveyInfo(sanitize_int($_REQUEST['sid']));
if (isset($surveyinfo['assessments']) && $surveyinfo['assessments']=='Y')
{
$_REQUEST['assessments'] = 'Y';
}
}

$clang = Yii::app()->lang;
Expand Down
2 changes: 1 addition & 1 deletion application/views/admin/expressions/test_view.php
Expand Up @@ -38,6 +38,6 @@
</tr>
<tr>
<td><a href="<?php echo $this->createUrl('admin/expressions/survey_logic_file'); ?>">Show Survey logic file</a></td>
<td>Shows the logic for the survey (e.g. relevance, validation), and all tailoring</td>
<td>Shows the logic for a survey (e.g. relevance, validation), and all tailoring</td>
</tr>
</table>

0 comments on commit 34f2bc6

Please sign in to comment.