2
0
forked from Wavyzz/dolibarr

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:
Frédéric FRANCE
2024-10-26 22:43:44 +02:00
committed by GitHub
parent 3acbd6e006
commit 0f563edb5f
34 changed files with 99 additions and 84 deletions

View File

@@ -738,7 +738,7 @@ class Documents extends DolibarrApi
// Fetching the tasks project is required because its out_dir might be a sub-directory of the project
if ($task_result > 0) {
$project_result = $object->fetch_projet();
$project_result = $object->fetchProject();
if ($project_result >= 0) {
$tmpreldir = dol_sanitizeFileName($object->project->ref).'/';