Fix 1490 $this instead of $object

This commit is contained in:
Maxime Kohlhaas 2014-06-14 11:42:17 +02:00
parent d0a417ad36
commit 1250804e81

View File

@ -730,7 +730,7 @@ if ($action == 'send' && ! GETPOST('cancel','alpha') && (empty($conf->global->MA
$interface=new Interfaces($db);
$result=$interface->run_triggers('FICHINTER_SENTBYMAIL',$object,$user,$langs,$conf);
if ($result < 0) {
$error++; $this->errors=$interface->errors;
$error++; $object->errors=$interface->errors;
}
// Fin appel triggers