Skip to content
Snippets Groups Projects
Commit 44d4d23c authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix phpcs

parent bfc8ccd7
No related branches found
No related tags found
No related merge requests found
......@@ -394,13 +394,12 @@ class ActionComm extends CommonObject
/**
* Load an object from its id and create a new one in database
*
* @param int $socid Id of thirdparty
* @return int New id of clone
*/
function createFromClone()
{
global $db, $user,$langs,$conf,$hookmanager;
$this->context['createfromclone']='createfromclone';
$error=0;
......@@ -410,10 +409,10 @@ class ActionComm extends CommonObject
// Load source object
$objFrom = dol_clone($this);
$this->fetch_optionals();
$this->fetch_userassigned();
$this->id=0;
// Create clone
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment