Backport
[platal.git] / include / validations / homonymes.inc.php
index 0ff23b9..9a628da 100644 (file)
@@ -61,14 +61,6 @@ class HomonymeReq extends Validate
     }
 
     // }}}
-    // {{{ function get_request()
-
-    function get_request($uid)
-    {
-        return parent::get_request($uid,$this->title);
-    }
-
-    // }}}
     // {{{ function formu()
 
     function formu()
@@ -118,7 +110,7 @@ est ambigu pour des raisons d'homonymie et signalera ton email exact.";
 
         $body = $this->prenom.",\n\n"
               . $this->_mail_body($isok)
-              . (Env::has('comm') ? "\n\n".Env::get('comm') : '')
+              . (Env::has('comm') ? "\n\n".Env::v('comm') : '')
               . "\n\nCordialement,\nL'équipe Polytechnique.org\n";
 
         $mailer->setTxtBody(wordwrap($body));