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,