diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php index bb44c3bce4e..24015f230cc 100644 --- a/htdocs/core/class/commonobject.class.php +++ b/htdocs/core/class/commonobject.class.php @@ -3840,10 +3840,10 @@ abstract class CommonObject * - source id+type + target type -> will get list of targets of the type linked to source * - target id+type + source type -> will get list of sources of the type linked to target * - * @param int $sourceid Object source id (if not defined, id of object) - * @param string $sourcetype Object source type (if not defined, element name of object) - * @param int $targetid Object target id (if not defined, id of object) - * @param string $targettype Object target type (if not defined, element name of object) + * @param int $sourceid Object source id (if not defined, $this->id) + * @param string $sourcetype Object source type (if not defined, $this->element) + * @param int $targetid Object target id (if not defined, $this->id) + * @param string $targettype Object target type (if not defined, $this->element) * @param string $clause 'OR' or 'AND' clause used when both source id and target id are provided * @param int $alsosametype 0=Return only links to object that differs from source type. 1=Include also link to objects of same type. * @param string $orderby SQL 'ORDER BY' clause