Fix: manquait création instance de classe
This commit is contained in:
parent
0c1912448f
commit
495f5de6ac
@ -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);
|
||||||
|
|
||||||
|
|||||||
@ -136,7 +136,8 @@ 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"));
|
||||||
|
|
||||||
@ -259,10 +260,12 @@ function show_actions_done($conf,$langs,$db,$objsoc)
|
|||||||
global $bc;
|
global $bc;
|
||||||
|
|
||||||
if ($conf->agenda->enabled)
|
if ($conf->agenda->enabled)
|
||||||
{
|
{
|
||||||
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">';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user