Clear action was called with a rowid instead of id (rowid is for a target of the emailing, id is for the emailing)

This commit is contained in:
Maxime Kohlhaas 2012-08-23 08:45:45 +02:00
parent 39de1cb010
commit 332ee652c3

View File

@ -347,7 +347,7 @@ if ($object->fetch($id) >= 0)
print '</table>';
print '<br>';
print '<form action="'.$_SERVER['PHP_SELF'].'?action=clear&rowid='.$object->id.'" method="POST">';
print '<form action="'.$_SERVER['PHP_SELF'].'?action=clear&id='.$object->id.'" method="POST">';
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
print_titre($langs->trans("ToClearAllRecipientsClickHere"));
print '<table class="noborder" width="100%">';