From 44d4d23c00fa9eaa9b2881f35e38db4daa5a5401 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@destailleur.fr> Date: Fri, 19 Jun 2015 11:21:36 +0200 Subject: [PATCH] Fix phpcs --- htdocs/comm/action/class/actioncomm.class.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/htdocs/comm/action/class/actioncomm.class.php b/htdocs/comm/action/class/actioncomm.class.php index 2bea8dad465..7defaed1312 100644 --- a/htdocs/comm/action/class/actioncomm.class.php +++ b/htdocs/comm/action/class/actioncomm.class.php @@ -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 -- GitLab