Commit c06aa72c authored by Thibaut Vallee's avatar Thibaut Vallee
Browse files

correctif url

parent 7c332e46
Loading
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -31,10 +31,8 @@ $this->headTitle("Gestion des privilèges");
<?php if (!isset($gestion) or $gestion !== 'off') : ?>
    <div class="row mb-3">
        <div class="col-md-12">
            <?php
            $url = sprintf("%s%s", $this->url('unicaen-privilege/categorie', [], []) ,(isset($namespace) && !empty($namespace)) ? "?namespace=".$namespace : "");
            /** @see PrivilegeCategorieController::indexAction() */ ?>
            <a href="<?php echo $url; ?>"
            <?php /** @see PrivilegeCategorieController::indexAction() */ ?>
            <a href="<?php echo $this->url('unicaen-privilege/categorie', [], ["query" => ['namespace' => $namespace]], true); ?>"
               class="btn btn-primary">
                <i class="fas fa-crown"></i>
                Gestion des privilèges