diff --git a/htdocs/core/class/html.formmail.class.php b/htdocs/core/class/html.formmail.class.php
index 6dd2264bf8b..c42acac2549 100644
--- a/htdocs/core/class/html.formmail.class.php
+++ b/htdocs/core/class/html.formmail.class.php
@@ -78,7 +78,7 @@ class FormMail extends Form
/**
* @var int
* @deprecated Fill withto with array before calling method.
- * @see withto
+ * @see $withto
*/
public $withtosocid;
@@ -1290,7 +1290,7 @@ class FormMail extends Form
* @param CommonObject $object Object to use
* @param Translate $outputlangs Object lang
* @return void
- * @see getCommonSubstitutionArray
+ * @see getCommonSubstitutionArray()
*/
function setSubstitFromObject($object, $outputlangs)
{