mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 23:36:11 +08:00
FIX: get_size_from_image_sizes should return [width, height] or nil (#9298)
This commit is contained in:
@ -268,6 +268,7 @@ class CookedPostProcessor
|
||||
return [size["width"], size["height"]]
|
||||
end
|
||||
end
|
||||
nil
|
||||
end
|
||||
|
||||
def add_to_size_cache(url, w, h)
|
||||
|
Reference in New Issue
Block a user