From 2cf9bf170e51373fb90529902194231380f01b1b Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@destailleur.fr>
Date: Mon, 3 Oct 2016 12:24:14 +0200
Subject: [PATCH] FIX Link on supplier invoice in widget was not clickable

---
 htdocs/core/boxes/box_factures_fourn_imp.php | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/htdocs/core/boxes/box_factures_fourn_imp.php b/htdocs/core/boxes/box_factures_fourn_imp.php
index b3ca0fec031..0d6bc28f077 100644
--- a/htdocs/core/boxes/box_factures_fourn_imp.php
+++ b/htdocs/core/boxes/box_factures_fourn_imp.php
@@ -117,18 +117,12 @@ class box_factures_fourn_imp extends ModeleBoxes
                     }
 
                     $tooltip = $langs->trans('SupplierInvoice') . ': ' . ($objp->ref?$objp->ref:$objp->facid) . '<br>' . $langs->trans('RefSupplier') . ': ' . $objp->ref_supplier;
-                    $this->info_box_contents[$line][] = array(
-                        'td' => 'align="left" width="16"',
-                        'logo' => $this->boximg,
-                        'tooltip' => $tooltip,
-                        'url' => DOL_URL_ROOT."/fourn/facture/card.php?facid=".$objp->facid,
-                    );
 
                     $this->info_box_contents[$line][] = array(
                         'td' => 'align="left"',
                         'text' => $facturestatic->getNomUrl(1),
                         'text2'=> $late,
-                        'asisi' => 1
+                        'asis' => 1
                     );
 
                     $this->info_box_contents[$line][] = array(
-- 
GitLab