From ad33689306fc5a6dbe1b84b8218fb1d03a4a064d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Barrois?= Date: Mon, 22 Mar 2010 10:24:52 +0100 Subject: [PATCH] Handle the flag EDUCATION_ALL in ProfileFields MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Raphaël Barrois --- include/profilefields.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/profilefields.inc.php b/include/profilefields.inc.php index 1bbb91a..fab3413 100644 --- a/include/profilefields.inc.php +++ b/include/profilefields.inc.php @@ -338,6 +338,8 @@ class ProfileEducation extends ProfileField (($flags & Profile::EDUCATION_FINISHED) && $edu->grad_year <= $year) || (($flags & Profile::EDUCATION_CURRENT) && $edu->grad_year > $year) + || + ($flags & Profile::EDUCATION_ALL) ) { $educations[$id] = $edu; ++$nb; -- 2.1.4