Fix 'reversed' field handling for AX newsletter.
authorRaphaël Barrois <raphael.barrois@polytechnique.org>
Tue, 25 Mar 2014 22:52:38 +0000 (23:52 +0100)
committerRaphaël Barrois <raphael.barrois@polytechnique.org>
Tue, 25 Mar 2014 22:52:38 +0000 (23:52 +0100)
include/ufbuilder.inc.php

index 9cb95cf..18d4195 100644 (file)
@@ -856,6 +856,11 @@ class UFBF_SchoolIds extends UFB_Field
         return true;
     }
 
+    public function getEnvFieldNames()
+    {
+        return array($this->envfield, $this->reversed_envfield);
+    }
+
     protected function buildUFC(UserFilterBuilder $ufb)
     {
         $ufc = new UFC_SchoolId($this->type, $this->val);