From f03712e91d798d08c6909a06e51f61500af5960c Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Sun, 4 Jun 2023 21:25:21 +0200 Subject: [PATCH] Fix png images --- www/activate.php | 1 + 1 file changed, 1 insertion(+) diff --git a/www/activate.php b/www/activate.php index 58325fe..452c358 100644 --- a/www/activate.php +++ b/www/activate.php @@ -43,6 +43,7 @@ $avatars = [ $avatarFiles = glob(__DIR__ . '/../www/resources/avatars/*.small.{jpg,png}', GLOB_BRACE); foreach ($avatarFiles as $smallImage) { $key = basename($smallImage, '.small.jpg'); + $key = basename($key, '.small.png'); $avatars[$key] = '/resources/avatars/' . basename($smallImage); } $avatars = array_filter($avatars); -- 2.30.2