diff --git a/htdocs/compta/index.php b/htdocs/compta/index.php index d2ac15e1c74..a68f3ac0176 100644 --- a/htdocs/compta/index.php +++ b/htdocs/compta/index.php @@ -468,7 +468,7 @@ if ($conf->facture->enabled && $user->rights->facture->lire) $obj = $db->fetch_object($resql); $var = !$var; print ''.img_object($langs->trans("ShowBill"),"bill").' '.$obj->facnumber.''; - print ''.img_object($langs->trans("ShowSupplier"),"company").' '.dolibarr_trunc($obj->nom,44).''; + print ''.img_object($langs->trans("ShowSupplier"),"company").' '.dolibarr_trunc($obj->nom,44).''; if ($conf->global->MAIN_SHOW_HT_ON_SUMMARY) print ''.price($obj->total_ht).''; print ''.price($obj->total_ttc).''; print ''.price($obj->am).''; diff --git a/htdocs/don.class.php b/htdocs/don.class.php index 9c60d497456..0cc1612e5d2 100644 --- a/htdocs/don.class.php +++ b/htdocs/don.class.php @@ -60,9 +60,8 @@ class Don /** * \brief Constructeur * \param DB Handler d'accès base - * \param socidp Id société */ - function Don($DB, $socidp="") + function Don($DB) { global $langs; diff --git a/htdocs/notify.class.php b/htdocs/notify.class.php index 86571347ad6..06e73e94035 100644 --- a/htdocs/notify.class.php +++ b/htdocs/notify.class.php @@ -38,7 +38,6 @@ class Notify var $db; var $error; - var $socidp; var $author; var $ref; var $date;