Fix warning
This commit is contained in:
parent
d89ccaeaad
commit
6ab68be4b3
@ -90,7 +90,7 @@ class box_members_by_tags extends ModeleBoxes
|
|||||||
$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");
|
||||||
|
|
||||||
$this->info_box_head = array('text' => $langs->trans("BoxTitleMembersByTags").' ('.$year-$numberyears.' - '.$year.')');
|
$this->info_box_head = array('text' => $langs->trans("BoxTitleMembersByTags").' ('.($year - $numberyears).' - '.$year.')');
|
||||||
|
|
||||||
if ($user->rights->adherent->lire) {
|
if ($user->rights->adherent->lire) {
|
||||||
require_once DOL_DOCUMENT_ROOT.'/adherents/class/adherentstats.class.php';
|
require_once DOL_DOCUMENT_ROOT.'/adherents/class/adherentstats.class.php';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user