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:
parent
39de1cb010
commit
332ee652c3
@ -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%">';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user