Fix: error if agenda module not enabled
This commit is contained in:
parent
d0891e2850
commit
98fcf46c3a
@ -549,7 +549,7 @@ function show_actions_done($conf,$langs,$db,$objsoc,$objcon='')
|
|||||||
$sql.= " AND mc.fk_mailing=m.rowid";
|
$sql.= " AND mc.fk_mailing=m.rowid";
|
||||||
$sql.= " ORDER BY mc.date_envoi DESC, m.rowid DESC";
|
$sql.= " ORDER BY mc.date_envoi DESC, m.rowid DESC";
|
||||||
|
|
||||||
dolibarr_syslog("compan.lib::show_actions_done sql=".$sql, LOG_DEBUG);
|
dolibarr_syslog("company.lib::show_actions_done sql=".$sql, LOG_DEBUG);
|
||||||
$resql=$db->query($sql);
|
$resql=$db->query($sql);
|
||||||
if ($resql)
|
if ($resql)
|
||||||
{
|
{
|
||||||
@ -677,10 +677,6 @@ function show_actions_done($conf,$langs,$db,$objsoc,$objcon='')
|
|||||||
|
|
||||||
$db->free($result);
|
$db->free($result);
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
dolibarr_print_error($db);
|
|
||||||
}
|
|
||||||
|
|
||||||
print "</table>\n";
|
print "</table>\n";
|
||||||
print "<br>\n";
|
print "<br>\n";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user