// Copy from trunk: #PSCFI-4401 - linebreaks in product return message cause fatal error in BO

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11122 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
tDidierjean
2011-12-12 11:07:46 +00:00
parent f5496845b6
commit 345ad40e3c
2 changed files with 5 additions and 2 deletions
+3 -1
View File
@@ -134,9 +134,11 @@ class AdminReturnControllerCore extends AdminController
}
}
/* Classic products */
// Classic products
$products = OrderReturn::getOrdersReturnProducts($this->object->id, $order);
// Prepare customer explanation for display
$this->object->question = nl2br($this->object->question);
$this->tpl_form_vars = array(
'customer' => new Customer($this->object->id_customer),