2
0
forked from Wavyzz/dolibarr

Qual: Fix phan (project-1)

This commit is contained in:
MDW
2025-02-10 21:20:09 +01:00
parent 5051faa325
commit 928402c847
35 changed files with 341 additions and 294 deletions

View File

@@ -3728,7 +3728,7 @@ class Commande extends CommonOrder
if (is_null($this->project) || (is_object($this->project) && $this->project->isEmpty())) {
$res = $this->fetchProject();
if ($res > 0 && $this->project instanceof Project) {
$datas['project'] = '<br><b>'.$langs->trans('Project').':</b> '.$this->project->getNomUrl(1, '', 0, 1);
$datas['project'] = '<br><b>'.$langs->trans('Project').':</b> '.$this->project->getNomUrl(1, '', 0, '1');
}
}
}