Fix bug in UFC_EducationDegree
authorRaphaël Barrois <raphael.barrois@polytechnique.org>
Wed, 28 Apr 2010 18:44:48 +0000 (20:44 +0200)
committerRaphaël Barrois <raphael.barrois@polytechnique.org>
Wed, 28 Apr 2010 18:44:48 +0000 (20:44 +0200)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
classes/userfilter.php

index 689b5ce..16e233f 100644 (file)
@@ -259,7 +259,7 @@ class UFC_EducationDegree implements UserFilterCondition
     public function buildCondition(PlFilter &$uf)
     {
         $sub = $uf->addEducationFilter();
-        return XDB::format('pee' . $sub . '.degreeid IN {?}', $this->val);
+        return XDB::format('pe' . $sub . '.degreeid IN {?}', $this->diploma);
     }
 }
 // }}}