Revert "Fix filter by event type Emailing in show actions done (companylib)"

This reverts commit 225e69a4de.
This commit is contained in:
Lionel VESSILLER 2019-02-05 17:02:43 +01:00
parent 225e69a4de
commit f4c5f1e3f1

View File

@ -1469,7 +1469,7 @@ function show_actions_done($conf, $langs, $db, $filterobj, $objcon = '', $noprin
}
// Add also event from emailings. TODO This should be replaced by an automatic event ? May be it's too much for very large emailing.
if (! empty($conf->mailing->enabled) && ! empty($objcon->email) && (empty($actioncode) || $actioncode == 'AC_OTH_AUTO' || $actioncode == 'AC_EMAILING'))
if (! empty($conf->mailing->enabled) && ! empty($objcon->email))
{
$langs->load("mails");