From 75118816b511b270f295484ddc0e27227b7e734c Mon Sep 17 00:00:00 2001 From: plegall Date: Wed, 4 Jul 2018 17:10:00 +0200 Subject: [PATCH] fixes #887, $selection is never set on PHP side, no need to use it in template ... and it makes the template compatible with PHP 7.2 --- admin/themes/default/template/user_list.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/admin/themes/default/template/user_list.tpl b/admin/themes/default/template/user_list.tpl index c68ea29e8..79abbe985 100644 --- a/admin/themes/default/template/user_list.tpl +++ b/admin/themes/default/template/user_list.tpl @@ -24,7 +24,7 @@ var missingConfirm = "{'You need to confirm deletion'|translate|escape:javascrip var missingUsername = "{'Please, enter a login'|translate|escape:javascript}"; var allUsers = [{$all_users}]; -var selection = [{$selection}]; +var selection = []; var pwg_token = "{$PWG_TOKEN}"; var protectedUsers = [{$protected_users}]; @@ -965,8 +965,8 @@ span.infos, span.errors {background-image:none; padding:2px 5px; margin:0;border
{'Action'|@translate} - -