From 5794d2c84af379ccf5528b04fa1f0dd438f10723 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Engel Date: Thu, 27 Aug 2026 17:39:14 +0200 Subject: [PATCH] =?UTF-8?q?Correction=20bug=20acc=C3=A8s=20historique=20me?= =?UTF-8?q?mbre?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- member_history.html | 4 +++- module.ini | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/member_history.html b/member_history.html index cf47264..f5c350e 100644 --- a/member_history.html +++ b/member_history.html @@ -7,7 +7,9 @@ - id : id du membre *}} -{{#restrict}}{{/restrict}} +{{if $_GET.id|intval !== $logged_user.id}} + {{#restrict section="users" level="read" block=true}}{{/restrict}} +{{/if}} {{:admin_header title="Historique membre" custom_css="./style.css" current="module_equipment"}} diff --git a/module.ini b/module.ini index 1fd0b2c..d474c45 100644 --- a/module.ini +++ b/module.ini @@ -1,5 +1,5 @@ name="Gestion des matériels" -description="Permet de gérer un inventaire de matériels, ainsi que de suivre les prêts.\nversion 0.71.1" +description="Permet de gérer un inventaire de matériels, ainsi que de suivre les prêts.\nversion 0.71.2" author="Jean-Christophe Engel" author_url="https://gitea.zaclys.com/lesanges" home_button=true