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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user