diff --git a/htdocs/compta/index.php b/htdocs/compta/index.php index 9e75aa273d8..5b8c8a4a101 100644 --- a/htdocs/compta/index.php +++ b/htdocs/compta/index.php @@ -466,6 +466,8 @@ if ($conf->fournisseur->enabled && $user->rights->fournisseur->facture->lire) // Last customers if ($conf->societe->enabled && $user->rights->societe->lire) { + include_once(DOL_DOCUMENT_ROOT.'/societe/client.class.php'); + $langs->load("boxes"); $sql = "SELECT s.nom, s.rowid, ".$db->pdate("s.datec")." as dc";