View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
05285Bug reportsPrint Viewpublic2011-06-21 14:31
ReporterTMSWhite Assigned ToTMSWhite  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.91+ 
Fixed in Version1.91+ 
Summary05285: undefined variable answertext
Description

For question type 'F', showing printable version throws an 'undefined variable answertext'

Steps To Reproduce

patch attached

TagsNo tags attached.
Attached Files
printablesurvey.patch (703 bytes)   
# This patch file was generated by NetBeans IDE
# Following Index: paths are relative to: C:\xampp\htdocs\limesurvey\admin
# This patch can be applied using context Tools: Patch action on respective folder.
# It uses platform neutral UTF-8 encoding and \n newlines.
# Above lines and this line are ignored by the patching process.
Index: printablesurvey.php
--- printablesurvey.php Base (BASE)
+++ printablesurvey.php Locally Modified (Based On LOCAL)
@@ -356,6 +356,7 @@
 
 $total_questions = 0;
 $mapquestionsNumbers=Array();
+$answertext = '';   // otherwise can throw an error on line 1617
 
 // =========================================================
 // START doin the business:
printablesurvey.patch (703 bytes)   
Bug heat2
Complete LimeSurvey version number (& build)10280
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMysql
Server OS (if known)Windows XP
Webserver software & version (if known)Apache 2
PHP Version5

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2011-06-21 14:31

administrator   ~15540

New version released.

Issue History

Date Modified Username Field Change
2011-06-17 23:41 TMSWhite New Issue
2011-06-17 23:41 TMSWhite File Added: printablesurvey.patch
2011-06-18 13:34 c_schmitz Assigned To => TMSWhite
2011-06-18 13:34 c_schmitz Status new => assigned
2011-06-18 20:53 TMSWhite Status assigned => resolved
2011-06-18 20:53 TMSWhite Fixed in Version => 1.91+
2011-06-18 20:53 TMSWhite Resolution open => fixed
2011-06-21 14:31 c_schmitz Note Added: 15540
2011-06-21 14:31 c_schmitz Status resolved => closed