Compare commits

..

No commits in common. "3f10684027450e3bc66d3f0980c6ca2273681efe" and "8fe100918692156c93e206a7a23be76a32d6254d" have entirely different histories.

1 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ class GroupType extends AbstractType
"query_builder"=> function (EntityRepository $er) {
return $er->createQueryBuilder('page')->where('page.parentfor=:parentfor')->setParameter('parentfor', 'group');
},
"disabled" => ($options["mode"]=="delete"?true:false),
"disabled" => ($options["mode"]=="delete"||$options["masteridentity"]!="SQL"?true:false),
"attr" => array("class" => "form-control", "style" => "margin-bottom:15px","readonly" => ($options["mode"]=="delete"?true:false))
]);
@ -294,7 +294,7 @@ class GroupType extends AbstractType
);
// Si masteridentity = LDAP alors on demande le filtre des utilisateurs qui appartiennent à ce groupe
if($options["masteridentity"]=="LDAP"&&$options["access"]=="config")
if($options["masteridentity"]=="LDAP")
{
$choices=array("oui" => "1","non" => "0");
$builder->add("fgassoc",