diff --git a/htdocs/comm/action/class/actioncomm.class.php b/htdocs/comm/action/class/actioncomm.class.php index 2bea8dad465..aed6cce159c 100644 --- a/htdocs/comm/action/class/actioncomm.class.php +++ b/htdocs/comm/action/class/actioncomm.class.php @@ -394,10 +394,11 @@ class ActionComm extends CommonObject /** * Load an object from its id and create a new one in database * - * @param int $socid Id of thirdparty + * @param user $user Object user making action + * @param int $socid Id of thirdparty * @return int New id of clone */ - function createFromClone() + function createFromClone($user, $socid) { global $db, $user,$langs,$conf,$hookmanager;