fix parameter of search product

This commit is contained in:
Frédéric FRANCE 2025-12-12 09:19:17 +01:00 committed by GitHub
parent f7befc2385
commit b58394fbaa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,5 +1,5 @@
<?php
/* Copyright (C) 2015 Laurent Destailleur <eldy@users.sourceforge.net>
/* Copyright (C) 2015 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2024 Frédéric France <frederic.france@free.fr>
*
* 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') != '') {