Skip to content

Commit

Permalink
Fixed issue #4565: QUESTION_CODE is no longer displayed in question-b…
Browse files Browse the repository at this point in the history
…y-question or all-in-one survey mode

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@9114 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
c-schmitz committed Sep 5, 2010
1 parent 7b80619 commit 34afe92
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion common.php
Expand Up @@ -2693,7 +2693,7 @@ function templatereplace($line, $replacements=array())
global $percentcomplete, $move;
global $groupname, $groupdescription;
global $question;
global $questioncode, $answer, $navigator;
global $answer, $navigator;
global $help, $totalquestions, $surveyformat;
global $completed, $register_errormsg;
global $notanswered, $privacy, $surveyid;
Expand Down
1 change: 0 additions & 1 deletion group.php
Expand Up @@ -1120,7 +1120,6 @@ function checkconditions(value, name, type)
//===================================================================
$answer=$qa[1];
$help=$qa[2];
$questioncode=$qa[5];

$question_template = file_get_contents($thistpl.'/question.pstpl');

Expand Down
2 changes: 1 addition & 1 deletion question.php
Expand Up @@ -505,10 +505,10 @@
$question['essentials'] = 'id="question'.$qa[4].'"'.$n_q_display;
$question['class'] = $q_class;
$question['man_class'] = $man_class;
$question['code'] = $qa[5];
//===================================================================
$answer=$qa[1];
$help=$qa[2];
$questioncode=$qa[5];

$question_template = file_get_contents($thistpl.'/question.pstpl');

Expand Down
2 changes: 1 addition & 1 deletion survey.php
Expand Up @@ -921,10 +921,10 @@ function checkconditions(value, name, type)
$question['essentials'] = 'id="question'.$qa[4].'"'.$n_q_display;
$question['class'] = $q_class;
$question['man_class'] = $man_class;
$question['code'] = $qa[5];
//===================================================================
$answer=$qa[1];
$help=$qa[2];
$questioncode=$qa[5];

$question_template = file_get_contents($thistpl.'/question.pstpl');

Expand Down

0 comments on commit 34afe92

Please sign in to comment.