Commit 25254413 authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Correction de bug à la marge

parent d31ff725
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -103,7 +103,7 @@ class UtilisateurController extends AbstractActionController
        }

        $utilisateurId = $this->params()->fromQuery("id");
        if ($utilisateurId !== null) {
        if ($utilisateurId !== null AND $utilisateurId !== "") {
            $utilisateur = $this->userService->find($utilisateurId);
            if($utilisateur instanceof UserInterface) {
                $rolesAttribues = $utilisateur->getRoles()->toArray();
+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@
        <field name="default" type="boolean" column="IS_DEFAULT" nullable="false"/>
        <field name="auto" type="boolean" column="IS_AUTO" nullable="false"/>
        <field name="ldapFilter" type="string" column="LDAP_FILTER" length="255" nullable="true"/>
        <field name="accessibleExterieur" type="integer" column="ACCESSIBLE_EXTERIEUR" nullable="false"/>
        <field name="accessibleExterieur" type="boolean" column="ACCESSIBLE_EXTERIEUR" nullable="false"/>

        <many-to-one field="parent" target-entity="UnicaenUtilisateur\Entity\Db\Role" fetch="LAZY">
            <join-columns>
+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@
        <field name="email" type="string" column="EMAIL" length="255" nullable="true"/>
        <field name="displayName" type="string" column="DISPLAY_NAME" length="64" nullable="true"/>
        <field name="password" type="string" column="PASSWORD" length="128" nullable="false"/>
        <field name="state" type="int" column="STATE" nullable="false"/>
        <field name="state" type="boolean" column="STATE" nullable="false"/>
        <field name="passwordResetToken" type="string" column="PASSWORD_RESET_TOKEN" length="256" nullable="true"/>

        <many-to-one field="lastRole" target-entity="UnicaenUtilisateur\Entity\Db\Role" fetch="LAZY">