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