From dcd4d5362247db1bda448c64b6b6760108b5e5d1 Mon Sep 17 00:00:00 2001 From: lmarcouiller Date: Wed, 30 Jun 2021 10:22:00 +0200 Subject: [PATCH 1/2] Fix php 8 warning in adherents list --- htdocs/adherents/list.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/adherents/list.php b/htdocs/adherents/list.php index d669270b565..1c93b247dfc 100644 --- a/htdocs/adherents/list.php +++ b/htdocs/adherents/list.php @@ -65,6 +65,7 @@ $search_filter = GETPOST("search_filter", 'alpha'); $search_status = GETPOST("search_status", 'intcomma'); $catid = GETPOST("catid", 'int'); $optioncss = GETPOST('optioncss', 'alpha'); +$socid = GETPOST('socid', 'int'); $filter = GETPOST("filter", 'alpha'); if ($filter) { From 2ab97d522d523507c7fefd966c351d2945827b0d Mon Sep 17 00:00:00 2001 From: lmarcouiller Date: Wed, 30 Jun 2021 10:30:46 +0200 Subject: [PATCH 2/2] Fix php 8.0 warning societe index --- htdocs/societe/index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/societe/index.php b/htdocs/societe/index.php index f5a4392a0c0..14901dc8a9c 100644 --- a/htdocs/societe/index.php +++ b/htdocs/societe/index.php @@ -185,6 +185,7 @@ $thirdpartygraph .= ''; $thirdpartygraph .= ''; $thirdpartygraph .= ''; +$thirdpartycateggraph = ''; if (!empty($conf->categorie->enabled) && !empty($conf->global->CATEGORY_GRAPHSTATS_ON_THIRDPARTIES)) { require_once DOL_DOCUMENT_ROOT.'/categories/class/categorie.class.php'; $elementtype = 'societe';