From 1ddbc1225837a6b5f9ec707c50290269a4b7b4c4 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 14 Jun 2012 22:56:14 +0200 Subject: [PATCH] Fix: No link if not found into table --- htdocs/compta/facture.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 4690edc2a48..6ea8b90fa01 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -2609,7 +2609,7 @@ else if ($id > 0 || ! empty($ref)) $bankaccountstatic->ref=$objp->ref; $bankaccountstatic->label=$objp->ref; print ''; - print $bankaccountstatic->getNomUrl(1,'transactions'); + if ($bankaccountstatic->id) print $bankaccountstatic->getNomUrl(1,'transactions'); print ''; } print ''.price($objp->amount).'';