From faf35cc8842dfae8c97e52261e2a9a84a55fcb73 Mon Sep 17 00:00:00 2001 From: Shish Date: Tue, 16 Mar 2021 01:49:48 +0000 Subject: [PATCH] video references image width / height --- core/imageboard/image.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/imageboard/image.php b/core/imageboard/image.php index 2a7b7692..d1286a99 100644 --- a/core/imageboard/image.php +++ b/core/imageboard/image.php @@ -14,8 +14,8 @@ class Image public const THUMBNAIL_DIR = "thumbs"; public ?int $id = null; - public int $height; - public int $width; + public int $height = 0; + public int $width = 0; public string $hash; public int $filesize; public string $filename;