From 3c7a9e058f0edc620d83629d75c3e40af100fc7a Mon Sep 17 00:00:00 2001
From: Fabien Morin <fabien@nexedi.com>
Date: Tue, 29 Sep 2009 13:44:30 +0000
Subject: [PATCH] &ignore_layout:int was not valid XHTML and not catch by
 testXHTML because if the error appear only if the multirelation field is
 filed.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29300 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Form/MultiRelationField.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5Form/MultiRelationField.py b/product/ERP5Form/MultiRelationField.py
index b3084c2e4b..49b892247b 100644
--- a/product/ERP5Form/MultiRelationField.py
+++ b/product/ERP5Form/MultiRelationField.py
@@ -353,7 +353,7 @@ class MultiRelationStringFieldWidget(Widget.LinesTextAreaWidget,
       else:
         selection_name_html = ''
       if REQUEST.get('ignore_layout') is not None:
-        selection_name_html += '&ignore_layout:int=%s' % int(REQUEST.get('ignore_layout', 0))
+        selection_name_html += '&amp;ignore_layout:int=%s' % int(REQUEST.get('ignore_layout', 0))
       # Generate plan link
       html_string += '<a href="%s/%s?field_id=%s&amp;form_id=%s%s">' \
                        '<img src="%s/images/jump.png" alt="jump" />' \
-- 
2.30.9