'.$langs->trans('MailSuccessfulySent',$from,$sendto).'.
';
+ $mesg=''.$langs->trans('MailSuccessfulySent',$mailfile->getValidAddress($from,2),$mailfile->getValidAddress($sendto,2)).'.
';
$error=0;
@@ -583,6 +596,8 @@ if ($_POST['action'] == 'send' && ! $_POST['cancel'] && (empty($conf->global->MA
$mesg='';
print '| ';
@@ -909,7 +924,7 @@ elseif ($fichinterid)
}
// Ligne en mode update
- if ($fichinter->statut == 0 && $_GET["action"] == 'editline' && $user->rights->ficheinter->creer && $_GET["ligne"] == $objp->rowid)
+ if ($fichinter->statut == 0 && $action == 'editline' && $user->rights->ficheinter->creer && $_GET["ligne"] == $objp->rowid)
{
print ' |