diff --git a/htdocs/contact/card.php b/htdocs/contact/card.php
index 5b1e302632e..1a271918b61 100644
--- a/htdocs/contact/card.php
+++ b/htdocs/contact/card.php
@@ -476,7 +476,7 @@ else
$object = new Contact($db);
$res=$object->fetch($id, $user);
if ($res<0) {
- setEventMessage($this->error,'errors');
+ setEventMessage($this->error, 'errors');
}
// Show tabs
@@ -1054,7 +1054,7 @@ else
if (!empty($object->socid)) {
print '
| ' . $langs->trans("Role") . ' | ';
print '';
- print $formcompany->showRoles("roles", $object, 'edit' ,$object->roles);
+ print $formcompany->showRoles("roles", $object, 'edit', $object->roles);
print ' |
';
}
diff --git a/htdocs/contact/class/contact.class.php b/htdocs/contact/class/contact.class.php
index cb738249a44..560a6e2bc0d 100644
--- a/htdocs/contact/class/contact.class.php
+++ b/htdocs/contact/class/contact.class.php
@@ -1610,5 +1610,4 @@ class Contact extends CommonObject
return $error*-1;
}
}
-
}
diff --git a/htdocs/core/lib/company.lib.php b/htdocs/core/lib/company.lib.php
index 4ead0601a40..91ba98d0ad4 100644
--- a/htdocs/core/lib/company.lib.php
+++ b/htdocs/core/lib/company.lib.php
@@ -1142,7 +1142,7 @@ function show_contacts($conf, $langs, $db, $object, $backtopage = '')
$resultRole=$contactstatic->fetchRoles();
if ($resultRole<0) {
- setEventMessages(null, $contactstatic->errors,'errors');
+ setEventMessages(null, $contactstatic->errors, 'errors');
}
if (is_array($contactstatic->array_options))