diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php index a4dca05ce82..941f9dddd27 100644 --- a/htdocs/core/class/commonobject.class.php +++ b/htdocs/core/class/commonobject.class.php @@ -4230,12 +4230,14 @@ abstract class CommonObject } else return 0; } + /** * Update an exta field value for the current object. * Data to describe values to insert/update are stored into $this->array_options=array('options_codeforfield1'=>'valueforfield1', 'options_codeforfield2'=>'valueforfield2', ...) * This function delte record with all extrafields and insert them again from the array $this->array_options. - * $key key of the extrafield - * @return int -1=error, O=did nothing, 1=OK + * + * @param string $key Key of the extrafield + * @return int -1=error, O=did nothing, 1=OK */ function updateExtraField($key) {