diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php
index 81b5f93ccb5bd48e623322d5fa624fdfdbfe373c..0685fde414b60583d0e835e06291a41040778a62 100644
--- a/htdocs/core/class/commonobject.class.php
+++ b/htdocs/core/class/commonobject.class.php
@@ -2984,7 +2984,3 @@ abstract class CommonObject
 }
 
 ?>
-
-
-
-?>
diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index 98abfebd42e9d5a8b4814bad4e754d967f7bf40a..f94797cb679fd6a68ca02d0ee35330a4b4928557 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -2690,7 +2690,7 @@ class Form
      *  @param	array	$event			Event options
      *    @return	void
      */
-    function form_thirdparty($page, $selected='', $htmlname='socid', $filter='',$showempty=0, $showtype=0, $forcecombo=0, $event=array()))
+    function form_thirdparty($page, $selected='', $htmlname='socid', $filter='',$showempty=0, $showtype=0, $forcecombo=0, $event=array())
     {
         global $langs;