Fix a bug in UFC_EducationField (wrong table name)
authorRaphaël Barrois <raphael.barrois@polytechnique.org>
Wed, 28 Apr 2010 18:53:23 +0000 (20:53 +0200)
committerRaphaël Barrois <raphael.barrois@polytechnique.org>
Wed, 28 Apr 2010 18:53:23 +0000 (20:53 +0200)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
classes/userfilter.php

index 16e233f..551d3ac 100644 (file)
@@ -280,7 +280,7 @@ class UFC_EducationField implements UserFilterCondition
     public function buildCondition(PlFilter &$uf)
     {
         $sub = $uf->addEducationFilter();
-        return XDB::format('pee' . $sub . '.fieldid IN {?}', $this->val);
+        return XDB::format('pe' . $sub . '.fieldid IN {?}', $this->val);
     }
 }
 // }}}