/[openfoncier]/trunk/obj/dossier.class.php
ViewVC logotype

Diff of /trunk/obj/dossier.class.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 584 by vpihour, Fri Nov 2 17:15:30 2012 UTC revision 592 by vpihour, Mon Nov 5 11:20:14 2012 UTC
# Line 297  class dossier extends dossier_gen { Line 297  class dossier extends dossier_gen {
297          }          }
298                    
299          /* Gestion des droits pour l'ajout forcĂ© d'un instructeur, si le profil est 5, c'est un administrateur */          /* Gestion des droits pour l'ajout forcĂ© d'un instructeur, si le profil est 5, c'est un administrateur */
300          if ( is_numeric($_SESSION['profil']) && $_SESSION['profil'] != 5 )          if ( !$this->f->isAccredited() )
301              $form->setType('instructeur', 'hidden');              $form->setType('instructeur', 'hidden');
302      }      }
303    

Legend:
Removed from v.584  
changed lines
  Added in v.592

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26