diff --git a/htdocs/contact/card.php b/htdocs/contact/card.php
index 8534094c075..0459252d341 100644
--- a/htdocs/contact/card.php
+++ b/htdocs/contact/card.php
@@ -1416,7 +1416,7 @@ else
print '
';
if ($action == 'editlevel')
{
- $formcompany->form_prospect_contact_level($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->fk_prospectlevel, 'prospect_contact_level_id', 1);
+ $formcompany->formProspectContactLevel($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->fk_prospectlevel, 'prospect_contact_level_id', 1);
}
else
{
diff --git a/htdocs/contact/class/contact.class.php b/htdocs/contact/class/contact.class.php
index 41c4504bbf2..94c2203bbee 100644
--- a/htdocs/contact/class/contact.class.php
+++ b/htdocs/contact/class/contact.class.php
@@ -1802,7 +1802,7 @@ class Contact extends CommonObject
*/
public function getLibProspLevel()
{
- return $this->LibProspLevel($this->fk_prospectlevel);
+ return $this->libProspLevel($this->fk_prospectlevel);
}
/**
@@ -1811,7 +1811,7 @@ class Contact extends CommonObject
* @param int $fk_prospectlevel Prospect level
* @return string label of level
*/
- public function LibProspLevel($fk_prospectlevel)
+ public function libProspLevel($fk_prospectlevel)
{
global $langs;
diff --git a/htdocs/core/class/html.formcompany.class.php b/htdocs/core/class/html.formcompany.class.php
index e44cfe90208..2a31b767494 100644
--- a/htdocs/core/class/html.formcompany.class.php
+++ b/htdocs/core/class/html.formcompany.class.php
@@ -179,7 +179,7 @@ class FormCompany extends Form
* @param int $empty Add empty value in list
* @return void
*/
- function form_prospect_contact_level($page, $selected = '', $htmlname = 'prospect_contact_level_id', $empty = 0)
+ public function formProspectContactLevel($page, $selected = '', $htmlname = 'prospect_contact_level_id', $empty = 0)
{
global $user, $langs;
diff --git a/htdocs/societe/list.php b/htdocs/societe/list.php
index 983c52ff036..f7a854cb9bc 100644
--- a/htdocs/societe/list.php
+++ b/htdocs/societe/list.php
@@ -1251,13 +1251,13 @@ while ($i < min($num, $limit))
{
// Prospect status
print ' | ';
- print ' '.$companystatic->LibProspCommStatut($obj->stcomm_id, 2, $prospectstatic->cacheprospectstatus[$obj->stcomm_id]['label'],$obj->stcomm_picto);
+ print ' ' . $companystatic->LibProspCommStatut($obj->stcomm_id, 2, $prospectstatic->cacheprospectstatus[$obj->stcomm_id]['label'], $obj->stcomm_picto);
print ' - | ';
if (!$i) $totalarray['nbfield']++;