From e08efcd9d7b5227c94edc208358b3e2b4f44339c Mon Sep 17 00:00:00 2001 From: nokonoko Date: Sat, 29 Jan 2022 21:11:12 +0100 Subject: [PATCH] fix for filename extension bug --- static/php/includes/Upload.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/php/includes/Upload.class.php b/static/php/includes/Upload.class.php index 7de2e1d..e19e4e5 100644 --- a/static/php/includes/Upload.class.php +++ b/static/php/includes/Upload.class.php @@ -28,12 +28,12 @@ class Upload { public static string $FILE_NAME; - public static string $FILE_EXTENSION; + public static mixed $FILE_EXTENSION; public static string $FILE_MIME; public static string $SHA1; public static string $NEW_NAME; public static string $NEW_NAME_FULL; - public static string $IP; + public static mixed $IP; public static string $FILE_SIZE; public static string $TEMP_FILE;