From bce952fa9bf60d5304b4e754b15503310fc095ee Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 21 Apr 2015 17:06:13 +0200 Subject: [PATCH] Fix bad link --- htdocs/core/boxes/box_actions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/boxes/box_actions.php b/htdocs/core/boxes/box_actions.php index 0f6e48a1520..fdd69a26a5b 100644 --- a/htdocs/core/boxes/box_actions.php +++ b/htdocs/core/boxes/box_actions.php @@ -118,7 +118,7 @@ class box_actions extends ModeleBoxes $this->info_box_contents[$line][] = array( 'td' => 'align="left"', - 'text' => $societestatic->getNomUrl(1), + 'text' => ($societestatic->id > 0 ? $societestatic->getNomUrl(1) : ''), 'asis' => 1, );