Skip to content

Commit

Permalink
Fixed issue #4740: Wrong images of diagrams in statistics view with l…
Browse files Browse the repository at this point in the history
…ist radio question types and

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@9497 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
c-schmitz committed Nov 18, 2010
1 parent 6d553d2 commit feb66f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion admin/statistics_function.php
Expand Up @@ -1746,7 +1746,7 @@ function generate_statistics($surveyid, $allfields, $q2show='all', $usegraph=0,

if ($al[0] == $statlang->gT("Other"))
{
if($qtype=='!')
if($qtype=='!' || $qtype=='L')
{
// It is better for single choice question types to filter on the number of '-oth-' entries, than to
// just count the number of 'other' values - that way with failing Javascript the statistics don't get messed up
Expand Down
2 changes: 1 addition & 1 deletion common.php
Expand Up @@ -5123,7 +5123,7 @@ function killSession() //added by Dennis
}
$_SESSION = array(); // redundant with previous lines
session_unset();
session_destroy();
@session_destroy();
}


Expand Down

0 comments on commit feb66f5

Please sign in to comment.