From 107485d991bf62baaa6bfc8b6c201c5ecd375062 Mon Sep 17 00:00:00 2001 From: Shish Date: Mon, 15 Jan 2024 18:32:22 +0000 Subject: [PATCH] [core] width and height are non-null --- 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 732da076..4bcbc725 100644 --- a/core/imageboard/image.php +++ b/core/imageboard/image.php @@ -361,8 +361,8 @@ class Image implements \ArrayAccess "length = :length WHERE id = :id", [ "id" => $this->id, - "width" => $this->width ?? 0, - "height" => $this->height ?? 0, + "width" => $this->width, + "height" => $this->height, "lossless" => $this->lossless, "video" => $this->video, "video_codec" => $this->video_codec,