From 3befe1b83f904bb86c67fb9db2382f9ac0ae9a33 Mon Sep 17 00:00:00 2001
From: Maxime Kohlhaas <maxime@atm-consulting.fr>
Date: Sat, 10 Dec 2016 23:34:32 +0100
Subject: [PATCH] Fix product photo in tooltip

---
 htdocs/product/class/product.class.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/htdocs/product/class/product.class.php b/htdocs/product/class/product.class.php
index 3df1393628a..bf87a32f3c9 100644
--- a/htdocs/product/class/product.class.php
+++ b/htdocs/product/class/product.class.php
@@ -3230,7 +3230,7 @@ class Product extends CommonObject
 		        $linkclose.=' alt="'.dol_escape_htmltag($label, 1).'"';
 		    }
 
-		    $linkclose.= ' title="'.dol_escape_htmltag($label, 1).'"';
+		    $linkclose.= ' title="'.dol_escape_htmltag($label, 1, 1).'"';
 		    $linkclose.=' class="classfortooltip"';
 		    
 		    if (! is_object($hookmanager))
-- 
GitLab