From c619738cbfb83aa2df4ad7717163c29bd1fbe039 Mon Sep 17 00:00:00 2001 From: Sachin Bahukhandi Date: Sat, 9 Mar 2024 13:30:02 +0530 Subject: [PATCH] Fixed fetching the database and table not appearing in query param in edit privilege Signed-off-by: Sachin Bahukhandi --- resources/templates/table/privileges/index.twig | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/resources/templates/table/privileges/index.twig b/resources/templates/table/privileges/index.twig index 2044706b3b46..c3ced52e7681 100644 --- a/resources/templates/table/privileges/index.twig +++ b/resources/templates/table/privileges/index.twig @@ -1,8 +1,9 @@
+ {% if is_superuser %}

{{ get_icon('b_usrcheck') }} - {{ 'Users having access to "%s"'|trans|format('' ~ db|escape('html') ~ '.' ~ table|escape('html') ~ '')|raw }} @@ -77,8 +78,8 @@ {{ get_icon('b_usredit', 'Edit privileges'|trans) }}