From fcc23909b32995e0c278d31bcafab6ee19e5e0bd Mon Sep 17 00:00:00 2001
From: BENKE Charlene <1179011+defrance@users.noreply.github.com>
Date: Mon, 20 Jun 2022 15:39:11 +0200
Subject: [PATCH] Update card.php
---
htdocs/product/stock/card.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/htdocs/product/stock/card.php b/htdocs/product/stock/card.php
index 8231be30d0c..009bc70ebb2 100644
--- a/htdocs/product/stock/card.php
+++ b/htdocs/product/stock/card.php
@@ -314,7 +314,7 @@ if ($action == 'create') {
$langs->load('projects');
print '
| '.$langs->trans('Project').' | ';
print img_picto('', 'project').$formproject->select_projects(($socid > 0 ? $socid : -1), $projectid, 'projectid', 0, 0, 1, 1, 0, 0, 0, '', 1, 0, 'maxwidth500');
- print ' ';
+ print ' ';
print ' |
';
}
@@ -854,7 +854,7 @@ if ($action == 'create') {
$langs->load('projects');
print '| '.$langs->trans('Project').' | ';
print img_picto('', 'project').$formproject->select_projects(($socid > 0 ? $socid : -1), $projectid, 'projectid', 0, 0, 1, 1, 0, 0, 0, '', 1, 0, 'maxwidth500');
- print ' id.($fac_rec ? '&fac_rec='.$fac_rec : '')).'">';
+ print ' 0 ? '&socid='.$socid : "")).'">';
print ' |
';
}