Fix syntax error

This commit is contained in:
Laurent Destailleur 2020-09-16 02:53:44 +02:00
parent ffa91451eb
commit baa46cd502

View File

@ -956,7 +956,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action))
print load_fiche_titre($title, $linkback, $picto);
// We set country_id, country_code and country for the selected country
$object->country_id = GETPOST('country_id', 'int) ? GETPOST('country_id', 'int') : null;
$object->country_id = GETPOSTISSET('country_id') ? GETPOST('country_id', 'int') : null;
if ($object->country_id > 0)
{
$tmparray = getCountry($object->country_id, 'all');