mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-08 18:12:53 +01:00
replace fetch_projet() and fetch_project() by fetchProject() (#29821)
* fix cti * fix cti * deprecate fetch_projet fetch_project to fetchProject * deprecate fetch_projet fetch_project to fetchProject * deprecate fetch_projet fetch_project to fetchProject * odfHandler->setSegment only throw OdfExceptionSegmentNotFound * odfHandler->setSegment only throw OdfExceptionSegmentNotFound * fix deprecated * fix * fix sql
This commit is contained in:
@@ -3804,7 +3804,7 @@ class Commande extends CommonOrder
|
||||
if (!$nofetch) {
|
||||
$langs->load('project');
|
||||
if (is_null($this->project) || (is_object($this->project) && $this->project->isEmpty())) {
|
||||
$res = $this->fetch_project();
|
||||
$res = $this->fetchProject();
|
||||
if ($res > 0 && $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