Skip to content

Commit

Permalink
Fixed issue #9744: Multiple choice question type label 'Not displayed…
Browse files Browse the repository at this point in the history
…' missing in statistics graph
  • Loading branch information
c-schmitz committed Jul 30, 2015
1 parent 83a6263 commit ffafd5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion application/helpers/admin/statistics_helper.php
Expand Up @@ -2148,7 +2148,7 @@ protected function displayResults($outputs, $results, $rt, $outputType, $surveyi
} //end else -> noncompleted NOT checked
}

// For multi question type, we have to check non completed with ALL sub question set to NULL
// For multiple choice question type, we have to check non completed with ALL sub question set to NULL
if(($outputs['qtype'] == "M") or ($outputs['qtype'] == "P"))
{
$criteria = new CDbCriteria;
Expand Down Expand Up @@ -2194,6 +2194,7 @@ protected function displayResults($outputs, $results, $rt, $outputType, $surveyi
$fname=gT("Not displayed");
}
$label[]= $fname;
$lbl[$fname] = $multiNotDisplayed;
//we need some data
if ($results > 0)
{
Expand Down

0 comments on commit ffafd5c

Please sign in to comment.