Merge pull request #8250 from ruistrecht-alt/Fix_bad_naming_resotre

FIX misspelled restore_lastsearch_values
This commit is contained in:
Laurent Destailleur 2018-03-02 17:53:33 +01:00 committed by GitHub
commit ea5cd4db76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -117,7 +117,7 @@ if ($action == 'confirm_delete' && $confirm == 'yes' && $user->rights->stock->su
if ($result > 0)
{
setEventMessages($langs->trans("RecordDeleted"), null, 'mesgs');
header("Location: ".DOL_URL_ROOT.'/product/stock/list.php?resotre_lastsearch_values=1');
header("Location: ".DOL_URL_ROOT.'/product/stock/list.php?restore_lastsearch_values=1');
exit;
}
else