diff --git a/htdocs/core/lib/functions2.lib.php b/htdocs/core/lib/functions2.lib.php
index a36b86cef705c9b3f0f250173b9fada1378084ed..e7eb9ccf0b00bcc6d9633c238876f170d4672132 100644
--- a/htdocs/core/lib/functions2.lib.php
+++ b/htdocs/core/lib/functions2.lib.php
@@ -1537,6 +1537,7 @@ function dolGetElementUrl($objectid,$objecttype,$withpicto=0,$option='')
 /**
  * Clean corrupted tree (orphelins linked to a not existing parent), record linked to themself and child-parent loop
  *
+ * @param	DoliDB	$db					Database handler
  * @param	string	$tabletocleantree	Table to clean
  * @param	string	$fieldfkparent		Field name that contains id of parent
  * @return	int							Nb of records fixed/deleted