Skip to content

Commit

Permalink
Fixed #6890: Can't Print Survey - 'Array to String Conversion' Error
Browse files Browse the repository at this point in the history
dev: commented out since no pdf in 2.0 -> restore pdf output in 2.1 or later
  • Loading branch information
mennodekker committed Nov 16, 2012
1 parent 1b431ec commit d41733a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion application/controllers/admin/printablesurvey.php
Expand Up @@ -654,7 +654,12 @@ function index($surveyid, $lang = null)
{
$question['QUESTION_MANDATORY'] = $clang->gT('*');
$question['QUESTION_CLASS'] .= ' mandatory';
$pdfoutput .= $clang->gT("*");
//$pdfoutput .= $clang->gT("*");
/*
* mdekker 20121116:
* commented out since sometimes it is array instead of string and is reset to empty in the next
* line anyway
*/
}

$pdfoutput ='';
Expand Down

0 comments on commit d41733a

Please sign in to comment.