mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -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"]]
|
return [size["width"], size["height"]]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
nil
|
||||||
end
|
end
|
||||||
|
|
||||||
def add_to_size_cache(url, w, h)
|
def add_to_size_cache(url, w, h)
|
||||||
|
Loading…
Reference in New Issue
Block a user