diff --git a/htdocs/core/search.php b/htdocs/core/search.php index 7b2829241b3..17a584601bd 100644 --- a/htdocs/core/search.php +++ b/htdocs/core/search.php @@ -1,5 +1,5 @@ +/* Copyright (C) 2015 Laurent Destailleur * Copyright (C) 2024 Frédéric France * * This file is a modified version of datepicker.php from phpBSM to fix some @@ -100,7 +100,7 @@ if (GETPOST('search_donation') != '') { exit; } if (GETPOST('search_product') != '') { - header("Location: ".DOL_URL_ROOT.'/product/list.php?sall='.urlencode(GETPOST('search_product'))); + header("Location: ".DOL_URL_ROOT.'/product/list.php?search_all='.urlencode(GETPOST('search_product'))); exit; } if (GETPOST('search_thirdparty') != '') {