Fix replacement

This commit is contained in:
Laurent Destailleur 2020-04-13 00:06:25 +02:00
parent 8842a1f4e7
commit 09641bd606

View File

@ -366,9 +366,9 @@ if (($action == 'replacesite' || $action == 'replacesiteconfirm') && ! $searchke
}
// Replacement of string into pages
if ($massaction == 'replace')
if ($massaction == 'replace' && GETPOST('confirmmassaction', 'alpha'))
{
$replacestring = GETPOST('replacestring', 'alphanohtml');
$replacestring = GETPOST('replacestring', 'none');
if (empty($user->rights->website->writephp)) {
setEventMessages("NotAllowedToAddDynamicContent", null, 'errors');