From 592869247db6f1b3198f91af92777bb08436f43e Mon Sep 17 00:00:00 2001 From: grissi-r <62464252+grissi-r@users.noreply.github.com> Date: Tue, 10 Jan 2023 10:51:18 +0100 Subject: [PATCH] fix string deprecation (#184) --- www/account_manager/download.php | 2 +- www/account_manager/groups.php | 4 +- www/account_manager/index.php | 2 +- www/account_manager/module_functions.inc.php | 2 +- www/account_manager/new_user.php | 4 +- www/account_manager/show_group.php | 6 +- www/account_manager/show_user.php | 18 +-- www/includes/config.inc.php | 4 +- www/includes/ldap_functions.inc.php | 154 +++++++++---------- www/includes/mail_functions.inc.php | 4 +- www/includes/web_functions.inc.php | 26 ++-- www/log_in/index.php | 6 +- www/setup/index.php | 4 +- 13 files changed, 118 insertions(+), 118 deletions(-) diff --git a/www/account_manager/download.php b/www/account_manager/download.php index 04734b4..791a119 100644 --- a/www/account_manager/download.php +++ b/www/account_manager/download.php @@ -30,7 +30,7 @@ if ($ldap_search) { header("Content-Type: application/octet-stream"); header("Cache-Control: no-cache private"); header("Content-Transfer-Encoding: Binary"); - header("Content-disposition: attachment; filename='${this_resource}.${this_attribute}'"); + header("Content-disposition: attachment; filename='{$this_resource}.{$this_attribute}'"); header("Content-Length: ". strlen($this_record[$this_attribute][0])); print $this_record[$this_attribute][0]; } diff --git a/www/account_manager/groups.php b/www/account_manager/groups.php index b6d865d..004eab2 100644 --- a/www/account_manager/groups.php +++ b/www/account_manager/groups.php @@ -51,7 +51,7 @@ render_js_username_check();