mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-10 19:12:59 +01:00
fix cti (#29813)
* fix cti * fix cti * no photo in asset lines * no photo in asset lines * no photo in asset lines * no photo in asset lines * no photo in recruitment lines * no photo in recruitment lines * fix * fix dead catch
This commit is contained in:
@@ -3756,7 +3756,7 @@ class Commande extends CommonOrder
|
||||
$langs->load('project');
|
||||
if (empty($this->project)) {
|
||||
$res = $this->fetch_project();
|
||||
if ($res > 0 && $this->project instanceof Project) {
|
||||
if ($res > 0 && !empty($this->project) && $this->project instanceof Project) {
|
||||
$datas['project'] = '<br><b>'.$langs->trans('Project').':</b> '.$this->project->getNomUrl(1, '', 0, 1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user