LimeSurvey version: LimeSurvey Version 3.25.18
==================
Hey!
I don't really know where I could ask this, but I think there is an error in getting responses from questions type T (long free text) in getFullResponseTable function in LimeSurvey/application/helpers/common_helper.php
Compare:
1)
Code:
$oResponse = SurveyDynamic::model($testsurvey_id)->findByAttributes(array('token' => $token));
//output:
SurveyDynamic Object
(
[completed_filter] =>
[firstname_filter] =>
[lastname_filter] =>
[email_filter] =>
[lastpage] => 1
[bHaveToken:protected] =>
[_new:CActiveRecord:private] =>
[_attributes:CActiveRecord:private] => Array
(
[id] => 1
[token] => 4XedA
[submitdate] => 1980-01-01 00:00:00
[startlanguage] => en
[seed] => 1898938554
[978369X26X271] => aaaaaaaaaaa
) //....array continues
2)
Code:
$aPrintedAnswers = getFullResponseTable($testsurvey_id, $oResponse['id'], $lang);
//output:
//...array start...
[token] => Array
(
[0] => Token
[1] =>
[2] => 4XedA
)
[gid_25] => Array
(
[0] =>
[1] =>
)
[978369X26X271] => Array
(
[0] =>
[1] =>
)
)
The answer to the question is empty in the array from getFullResponseTable.
Is this a bug or am I doing something wrong?