View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
03806Bug reportsSurvey takingpublic2009-11-13 16:40
Reporteruser1237Assigned Toc_schmitz  
PrioritynormalSeveritytrivial 
Status closedResolutionfixed 
Product Version1.86 
Fixed in Version1.87RC1 
Summary03806: do_array_flexible - Repeating header no answer produce one column too much
Description

If the headers are repeated and the question is not mandatory and the "no answer" response is shown, there is added an empty column before the no answer column. Patch to fix this is attached.

TagsNo tags attached.
Attached Files
no_answer_repeat_header.patch (461 bytes)   
--- limesurvey/qanda.php	2009-09-30 16:27:34.000000000 +0200
+++ survey/qanda.php	2009-11-01 10:25:36.000000000 +0100
@@ -4928,7 +4928,7 @@
 					}
 					if ($ia[6] != 'Y' && $shownoanswer == 1) //Question is not mandatory and we can show "no answer"
 					{
-						$answer .= "\t\t\t<td>&nbsp;</td>\n\t\t\t<th>".$clang->gT('No answer')."</th>\n";
+						$answer .= "\t\t\t<th>".$clang->gT('No answer')."</th>\n";
 					}
 					$answer .= "\t\t</tr>\n";
 				}
Bug heat4
Complete LimeSurvey version number (& build)7697
I will donate to the project if issue is resolved
Browser
Database type & version5.0.51a-24+lenny2 (Debian)
Server OS (if known)Debian 5.0.3
Webserver software & version (if known)Apache/2.2.9 (Debian)
PHP VersionPHP/5.2.6-1+lenny3 with Suhosin-Patch

Users monitoring this issue

There are no users monitoring this issue.

Activities

user372

2009-11-01 12:11

  ~09934

@ c_schmitz: can you review the attached patch?

c_schmitz

c_schmitz

2009-11-01 23:40

administrator   ~09942

Thank you very much!

Issue History

Date Modified Username Field Change
2009-11-01 10:41 user1237 New Issue
2009-11-01 10:41 user1237 Status new => assigned
2009-11-01 10:41 user1237 Assigned To => user372
2009-11-01 10:41 user1237 File Added: no_answer_repeat_header.patch
2009-11-01 10:41 user1237 LimeSurvey build number => 7697
2009-11-01 10:41 user1237 Database & DB-Version => 5.0.51a-24+lenny2 (Debian)
2009-11-01 10:41 user1237 Operating System (Server) => Debian 5.0.3
2009-11-01 10:41 user1237 Webserver => Apache/2.2.9 (Debian)
2009-11-01 10:41 user1237 PHP Version => PHP/5.2.6-1+lenny3 with Suhosin-Patch
2009-11-01 12:11 user372 Note Added: 09934
2009-11-01 12:13 user372 Assigned To user372 => c_schmitz
2009-11-01 13:05 user1237 Issue Monitored: user1237
2009-11-01 23:40 c_schmitz Note Added: 09942
2009-11-01 23:40 c_schmitz Status assigned => resolved
2009-11-01 23:40 c_schmitz Fixed in Version => 1.87RC1
2009-11-01 23:40 c_schmitz Resolution open => fixed
2009-11-13 16:40 c_schmitz Status resolved => closed
2010-10-25 00:18 c_schmitz Category Survey at Runtime => Survey taking