From 93fbe8dccec7b14c024259f83543bde4a95be298 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 29 Jan 2023 14:10:25 +0100 Subject: feat(PHP8.2): Fix deprecated string interpolation Signed-off-by: Florian Pritz --- application/service/files.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'application/service/files.php') diff --git a/application/service/files.php b/application/service/files.php index a21b1d65c..576adb2ef 100644 --- a/application/service/files.php +++ b/application/service/files.php @@ -439,14 +439,14 @@ class files { // likely unsupported filetype } - $tooltip = "${filedata["id"]} - $filesize
"; + $tooltip = "{$filedata["id"]} - $filesize
"; $tooltip .= "$upload_date
"; if ($height > 0 && $width > 0) { - $tooltip .= "${width}x${height} - ${filedata["mimetype"]}
"; + $tooltip .= "{$width}x{$height} - {$filedata["mimetype"]}
"; } else { - $tooltip .= "${filedata["mimetype"]}
"; + $tooltip .= "{$filedata["mimetype"]}
"; } return $tooltip; -- cgit v1.2.3-24-g4f1b