summaryrefslogtreecommitdiffstats
path: root/application/service
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2023-01-29 14:10:25 +0100
committerFlorian Pritz <bluewind@xinu.at>2023-01-29 14:10:25 +0100
commit93fbe8dccec7b14c024259f83543bde4a95be298 (patch)
tree883786b47f0246ec6e0fb85b8b72af703cfaa152 /application/service
parentc88be04f0ec35304be812d7f5379c4362008b730 (diff)
feat(PHP8.2): Fix deprecated string interpolation
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/service')
-rw-r--r--application/service/files.php6
1 files changed, 3 insertions, 3 deletions
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<br>";
+ $tooltip = "{$filedata["id"]} - $filesize<br>";
$tooltip .= "$upload_date<br>";
if ($height > 0 && $width > 0) {
- $tooltip .= "${width}x${height} - ${filedata["mimetype"]}<br>";
+ $tooltip .= "{$width}x{$height} - {$filedata["mimetype"]}<br>";
} else {
- $tooltip .= "${filedata["mimetype"]}<br>";
+ $tooltip .= "{$filedata["mimetype"]}<br>";
}
return $tooltip;