From: Stéphane Jacob Date: Tue, 27 Jul 2010 13:33:14 +0000 (+0200) Subject: Fixes grad year fetch in profile groups edition. X-Git-Tag: xorg/1.0.1~297 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=fa5c8df77dfe195d50496047eb56a848f90172fe;p=platal.git Fixes grad year fetch in profile groups edition. Signed-off-by: Stéphane Jacob --- diff --git a/modules/profile/groups.inc.php b/modules/profile/groups.inc.php index 0d2df30..f5e2941 100644 --- a/modules/profile/groups.inc.php +++ b/modules/profile/groups.inc.php @@ -122,7 +122,7 @@ class ProfileSettingGroups extends ProfilePage WHERE a.inscriptible != 0 AND (a.cat = 'GroupesX' OR a.cat = 'Institutions') ORDER BY a.cat, a.dom, a.nom")); - $page->assign('old', (int) date('Y') >= $page->profile->grad_year); + $page->assign('old', (int) date('Y') >= $this->profile->grad_year); } }