Commit 52526301 authored by Stéphane Bouvry's avatar Stéphane Bouvry
Browse files

Fix bug de visibilité lié aux privilèges

parent df6bc16e
Loading
Loading
Loading
Loading
+1 −1
Changes for module/Oscar/view/oscar/person/show.phtml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -219,7 +219,7 @@

            <section class="col">

                <?php if($this->grant(\Oscar\Provider\Privileges::PERSON_MANAGE_SCHEDULE)): ?>
                <?php if($this->grant()->privilege(\Oscar\Provider\Privileges::PERSON_MANAGE_SCHEDULE)): ?>
                <h2><i class="icon-clock"></i> Horaires</h2>
                <div id="manage-schelude"></div>
                    <script>