From 361e291d2d01400b5c34acc2bb2fc24669b0f3c8 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 30 May 2013 19:36:00 +0200 Subject: [PATCH] Fix: Lang not loaded --- htdocs/adherents/stats/byproperties.php | 1 + htdocs/adherents/stats/geo.php | 1 + htdocs/adherents/stats/index.php | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/htdocs/adherents/stats/byproperties.php b/htdocs/adherents/stats/byproperties.php index fb014977352..675ad501a5e 100755 --- a/htdocs/adherents/stats/byproperties.php +++ b/htdocs/adherents/stats/byproperties.php @@ -44,6 +44,7 @@ $year = strftime("%Y", time()); $startyear=$year-2; $endyear=$year; +$langs->load("members"); /* diff --git a/htdocs/adherents/stats/geo.php b/htdocs/adherents/stats/geo.php index dbb964cfd47..c1a73569e57 100755 --- a/htdocs/adherents/stats/geo.php +++ b/htdocs/adherents/stats/geo.php @@ -44,6 +44,7 @@ $year = strftime("%Y", time()); $startyear=$year-2; $endyear=$year; +$langs->load("members"); /* diff --git a/htdocs/adherents/stats/index.php b/htdocs/adherents/stats/index.php index 40d7bd8d77c..fff9167a790 100644 --- a/htdocs/adherents/stats/index.php +++ b/htdocs/adherents/stats/index.php @@ -46,6 +46,8 @@ $year = strftime("%Y", time()); $startyear=$year-2; $endyear=$year; +$langs->load("members"); + /* * View @@ -53,8 +55,6 @@ $endyear=$year; $form=new Form($db); -$langs->load("propal"); - llxHeader(); print_fiche_titre($langs->trans("SubscriptionsStatistics"), $mesg);