Skip to content

Commit

Permalink
Fixed issue #4758: Date filter in statistics on date questions doesn'…
Browse files Browse the repository at this point in the history
…t work

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@9677 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
c-schmitz committed Jan 13, 2011
1 parent a06ca15 commit f88417f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/statistics_function.php
Expand Up @@ -296,7 +296,7 @@ function generate_statistics($surveyid, $allfields, $q2show='all', $usegraph=0,
foreach ($postvars as $pv)
{
//Only do this if there is actually a value for the $pv
if (in_array($pv, $allfields) || in_array(substr($pv,1),$aQuestionMap) || in_array($pv,$aQuestionMap))
if (in_array($pv, $allfields) || in_array(substr($pv,1),$aQuestionMap) || in_array($pv,$aQuestionMap) || (substr($pv,0,1)=='D' && in_array(substr($pv,1,strlen($pv)-2),$aQuestionMap)))
{
$firstletter=substr($pv,0,1);
/*
Expand Down

0 comments on commit f88417f

Please sign in to comment.