2
0
forked from Wavyzz/dolibarr

fix usage of recipient translation (#35437)

* fix usage of recipient translation

* fix usage of recipient translation

* fix usage of recipient translation
This commit is contained in:
Frédéric FRANCE
2025-09-22 20:30:23 +02:00
committed by GitHub
parent 17d3a35a51
commit a7cebb70a9
7 changed files with 18 additions and 10 deletions

View File

@@ -15011,6 +15011,7 @@ function fetchObjectByElement($element_id, $element_type, $element_ref = '', $us
$className = $element_prop['classname'];
$objecttmp = new $className($db);
'@phan-var-force CommonObject $objecttmp';
/** @var CommonObject $objecttmp */
if ($element_id > 0 || !empty($element_ref)) {
$ret = $objecttmp->fetch($element_id, $element_ref);