mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-18 00:09:06 +01:00
- LSattribute : Correction de la méthode addToView() ne vérifiant pas la valeur
du paramètre de config 'view'.
This commit is contained in:
parent
a7a165651d
commit
379ab649b3
1 changed files with 1 additions and 1 deletions
|
@ -312,7 +312,7 @@ class LSattribute {
|
|||
* @retval boolean true si l'ajout a fonctionner ou qu'il n'est pas nécessaire, false sinon
|
||||
*/
|
||||
function addToView(&$form) {
|
||||
if((isset($this -> config['view'])) && ($this -> myRights() != 'n') ) {
|
||||
if((isset($this -> config['view'])) && ($this -> config['view']) && ($this -> myRights() != 'n') ) {
|
||||
if (!$this -> html) {
|
||||
LSerror :: addErrorCode('LSattribute_09',array('type' => 'html','name' => $this -> name));
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue