From a762d4111d482c5c14f5683123a094bfce99aa63 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 29 Sep 2024 05:57:57 +0200 Subject: [PATCH] FIX Debug link to user in list of product prices --- htdocs/product/price.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/htdocs/product/price.php b/htdocs/product/price.php index 8e1bd9f562a..b9a2d280f73 100644 --- a/htdocs/product/price.php +++ b/htdocs/product/price.php @@ -2085,7 +2085,7 @@ if (getDolGlobalString('PRODUIT_CUSTOMER_PRICES') || getDolGlobalString('PRODUIT print ''.$langs->trans("MinPrice").' '.$langs->trans("HT").''; print ''.$langs->trans("MinPrice").' '.$langs->trans("TTC").''; print ''.$langs->trans("PriceLabel").''; - print ''.$langs->trans("ChangedBy").''; + print ''.$langs->trans("ChangedBy").''; print ''; print ''; @@ -2231,7 +2231,7 @@ if (getDolGlobalString('PRODUIT_CUSTOMER_PRICES') || getDolGlobalString('PRODUIT $userstatic = new User($db); $userstatic->fetch($line->fk_user); // @TODO Add a cache on $users object - print ''; + print ''; print $userstatic->getNomUrl(-1, '', 0, 0, 24, 0, 'login'); print ''; @@ -2351,7 +2351,7 @@ if ((!getDolGlobalString('PRODUIT_CUSTOMER_PRICES') || $action == 'showlog_defau print ''.$langs->trans("MinPrice").' '.$langs->trans("HT").''; print ''.$langs->trans("MinPrice").' '.$langs->trans("TTC").''; print ''.$langs->trans("Label").''; - print ''.$langs->trans("ChangedBy").''; + print ''.$langs->trans("ChangedBy").''; if ($user->hasRight('produit', 'supprimer')) { print ' '; } @@ -2486,11 +2486,11 @@ if ((!getDolGlobalString('PRODUIT_CUSTOMER_PRICES') || $action == 'showlog_defau print ''; // User - print ''; + print ''; if ($objp->user_id > 0) { $userstatic = new User($db); $userstatic->fetch($objp->user_id); - print $userstatic->getNomUrl(1, '', 0, 0, 24, 0, 'login'); + print $userstatic->getNomUrl(-1, '', 0, 0, 24, 0, 'login'); } print '';