Skip to content

Commit

Permalink
Fixed issue #5570: INSERTANS does not return other comment in multipl…
Browse files Browse the repository at this point in the history
…e questions with Other activated

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@11371 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
c-schmitz committed Nov 15, 2011
1 parent 58050ae commit d6d341d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common_functions.php
Expand Up @@ -5928,7 +5928,7 @@ function retrieve_Answer($code, $phpdateformat=null)

if ($questiondetails['type'] == "M" || $questiondetails['type'] == "P")
{
if (strpos($code,'comment')>0 && isset($_SESSION[$code]))
if ((strpos($code,'comment')>0 || strpos($code,'other')>0) && isset($_SESSION[$code]))
{
return $_SESSION[$code];
}
Expand Down

0 comments on commit d6d341d

Please sign in to comment.