Skip to content
Snippets Groups Projects
Commit 495f5de6 authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: manquait création instance de classe

parent 0c191244
No related branches found
No related tags found
No related merge requests found
...@@ -128,7 +128,6 @@ if ($mode == 'search') { ...@@ -128,7 +128,6 @@ if ($mode == 'search') {
llxHeader('',$langs->trans('CustomerCard')); llxHeader('',$langs->trans('CustomerCard'));
$facturestatic=new Facture($db);
$contactstatic = new Contact($db); $contactstatic = new Contact($db);
$userstatic=new User($db); $userstatic=new User($db);
......
...@@ -137,6 +137,7 @@ function show_actions_todo($conf,$langs,$db,$objsoc) ...@@ -137,6 +137,7 @@ function show_actions_todo($conf,$langs,$db,$objsoc)
require_once(DOL_DOCUMENT_ROOT."/actioncomm.class.php"); require_once(DOL_DOCUMENT_ROOT."/actioncomm.class.php");
$actionstatic=new ActionComm($db); $actionstatic=new ActionComm($db);
$userstatic=new User($db); $userstatic=new User($db);
$contactstatic = new Contact($db);
print_titre($langs->trans("ActionsOnCompany")); print_titre($langs->trans("ActionsOnCompany"));
...@@ -263,6 +264,8 @@ function show_actions_done($conf,$langs,$db,$objsoc) ...@@ -263,6 +264,8 @@ function show_actions_done($conf,$langs,$db,$objsoc)
require_once(DOL_DOCUMENT_ROOT."/actioncomm.class.php"); require_once(DOL_DOCUMENT_ROOT."/actioncomm.class.php");
$actionstatic=new ActionComm($db); $actionstatic=new ActionComm($db);
$userstatic=new User($db); $userstatic=new User($db);
$contactstatic = new Contact($db);
$facturestatic=new Facture($db);
print '<table class="noborder" width="100%">'; print '<table class="noborder" width="100%">';
print '<tr class="liste_titre">'; print '<tr class="liste_titre">';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment