Skip to content

Commit

Permalink
Fixed bug #767: Statistics-Screen: Number of Responses in Huge Free T…
Browse files Browse the repository at this point in the history
…ext are not correctly

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/phpsurveyor@2695 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
c-schmitz committed Apr 6, 2007
1 parent fcb7f17 commit 5e75f17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin/statistics.php
Expand Up @@ -1344,7 +1344,7 @@ function show(element) {
{
$query = "SELECT count(`$al[2]`) FROM ".db_table_name("survey_$surveyid")." WHERE `$al[2]` != ''";
}
elseif ($qtype == "T" || $qtype == "S" || $qtype == "Q")
elseif ($qtype == "U" || $qtype == "T" || $qtype == "S" || $qtype == "Q")
{
if($al[0]=="Answers")
{
Expand Down Expand Up @@ -1381,7 +1381,7 @@ function show(element) {
{$fname=$clang->gT("No answer");}
elseif ($al[0] == $clang->gT("Other") || $al[0] == "Answers")
{$fname="$al[1] <input type='submit' value='".$clang->gT("Browse")."' onclick=\"window.open('listcolumn.php?sid=$surveyid&amp;column=$al[2]&amp;sql=".urlencode($sql)."', 'results', 'width=300, height=500, left=50, top=50, resizable=yes, scrollbars=yes, menubar=no, status=no, location=no, toolbar=no')\" />";}
elseif ($qtype == "S" || $qtype == "T" || $qtype == "Q")
elseif ($qtype == "S" || $qtype == "U" || $qtype == "T" || $qtype == "Q")
{
if ($al[0] == "Answer")
{
Expand Down

0 comments on commit 5e75f17

Please sign in to comment.