Fix phpcs

This commit is contained in:
Laurent Destailleur 2015-06-19 11:21:36 +02:00
parent bfc8ccd761
commit 44d4d23c00

View File

@ -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