Was this an error ???
[platal.git] / include / profil / verif_mentor.inc.php
index f0f4720..4fcd5e9 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /***************************************************************************
- *  Copyright (C) 2003-2004 Polytechnique.org                              *
+ *  Copyright (C) 2003-2006 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -22,7 +22,7 @@
 
 //au cas ou le submit du formulaire vient d'un changement du nouveau secteur
 if(Post::has('mentor_expertise')){
-  $mentor_expertise = Post::get('mentor_expertise');
+  $mentor_expertise = Post::v('mentor_expertise');
   if(!empty($mentor_expertise)){
       if (strlen(strtok($mentor_expertise,"<>{}~§`|%$^")) < strlen($mentor_expertise)){//TODO: affiner la liste
            $page->trig("L'expertise contient un caractère interdit.");