Fix PHP 8.1.7 - $search_country_id not defined
This commit is contained in:
parent
7967ab402a
commit
590cb20b41
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/* Copyright (C) 2017 Alexandre Spangaro <aspangaro@open-dsi.fr>
|
||||
/* Copyright (C) 2017-2022 Alexandre Spangaro <aspangaro@open-dsi.fr>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -76,6 +76,8 @@ if (empty($sortorder)) {
|
||||
|
||||
$error = 0;
|
||||
|
||||
$search_country_id = GETPOST('search_country_id', 'int');
|
||||
|
||||
// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
|
||||
$hookmanager->initHooks(array('admin'));
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user