From 09641bd60666ced213aa1d2508c1a867d99d53f6 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 13 Apr 2020 00:06:25 +0200 Subject: [PATCH] Fix replacement --- htdocs/website/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/website/index.php b/htdocs/website/index.php index 315492eefe6..b327549ac50 100644 --- a/htdocs/website/index.php +++ b/htdocs/website/index.php @@ -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');