Fix replacement
This commit is contained in:
parent
8842a1f4e7
commit
09641bd606
@ -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');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user