From 83e7067d102a65eb0251c514edd766175a84dded Mon Sep 17 00:00:00 2001
From: cdelambert <cdelambert>
Date: Tue, 24 Jul 2007 21:21:56 +0000
Subject: [PATCH] Amelioration canvas produit livre

---
 htdocs/product/liste.php | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/htdocs/product/liste.php b/htdocs/product/liste.php
index 9df3457a4d0..5232ef4aa13 100644
--- a/htdocs/product/liste.php
+++ b/htdocs/product/liste.php
@@ -199,7 +199,9 @@ if ($resql)
   if ($_GET["canvas"] <> '' && file_exists($smarty->template_dir . '/product/canvas/'.$_GET["canvas"].'/liste.tpl') )
     {
       $smarty->assign('datas', $object->list_datas);
-
+	  $smarty->assign('url_root', $dolibarr_main_url_root);
+	  $smarty->assign('theme', $conf->theme);
+	  $smarty->assign('langs', $langs);
       $smarty->display('product/canvas/'.$_GET["canvas"].'/liste.tpl');
     }
   else
-- 
GitLab