fix warning
Undefined variable $now in htdocs\core\boxes\box_members_by_tags.php:222
This commit is contained in:
parent
3821f5c27c
commit
f28405f7a9
@ -2,7 +2,7 @@
|
|||||||
/* Copyright (C) 2003-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
/* Copyright (C) 2003-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
* Copyright (C) 2004-2017 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (C) 2004-2017 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@inodbox.com>
|
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@inodbox.com>
|
||||||
* Copyright (C) 2015-2020 Frederic France <frederic.france@netlogic.fr>
|
* Copyright (C) 2015-2023 Frédéric France <frederic.france@netlogic.fr>
|
||||||
* Copyright (C) 2021-2022 Waël Almoman <info@almoman.com>
|
* Copyright (C) 2021-2022 Waël Almoman <info@almoman.com>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
@ -87,6 +87,7 @@ class box_members_by_tags extends ModeleBoxes
|
|||||||
include_once DOL_DOCUMENT_ROOT . '/adherents/class/adherent.class.php';
|
include_once DOL_DOCUMENT_ROOT . '/adherents/class/adherent.class.php';
|
||||||
$staticmember = new Adherent($this->db);
|
$staticmember = new Adherent($this->db);
|
||||||
|
|
||||||
|
$now = dol_now();
|
||||||
$year = date('Y');
|
$year = date('Y');
|
||||||
$numberyears = empty(getDolGlobalInt("MAIN_NB_OF_YEAR_IN_WIDGET_GRAPH")) ? 2 : getDolGlobalInt("MAIN_NB_OF_YEAR_IN_WIDGET_GRAPH");
|
$numberyears = empty(getDolGlobalInt("MAIN_NB_OF_YEAR_IN_WIDGET_GRAPH")) ? 2 : getDolGlobalInt("MAIN_NB_OF_YEAR_IN_WIDGET_GRAPH");
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user