Skip to content

Commit

Permalink
Fixed issue #6854: INSERTANS or .shown not working for comment on Mul…
Browse files Browse the repository at this point in the history
…tiple options with comments

Dev: old SESSION system (from 1.92), replace with $code like text question type
Dev: have another issue with THIS survey
  • Loading branch information
Shnoulle committed Nov 21, 2012
1 parent a3fd824 commit fffc49a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions application/helpers/expressions/em_manager_helper.php
Expand Up @@ -7813,8 +7813,9 @@ private function _GetVarAttribute($name,$attr,$default,$gseq,$qseq)
{
$shown = $var['question'];
}
elseif (preg_match('/comment$/',$sgqa) && isset($_SESSION[$sgqa])) {
$shown = $_SESSION[$sgqa];
elseif (preg_match('/comment$/',$sgqa)) {
//$shown = $_SESSION[$this->sessid][$sgqa]; This one work and i understand it
$shown=$code; // This one is OK, and i think it's best but don't really understand it
}
else
{
Expand Down

0 comments on commit fffc49a

Please sign in to comment.