potential fix for #2687: Post changes report doesn't handle nil results
This commit is contained in:
@@ -31,6 +31,8 @@ module Reports
|
|||||||
def post_versions
|
def post_versions
|
||||||
if query["rows"].present?
|
if query["rows"].present?
|
||||||
query["rows"].map {|x| mock_version(x)}
|
query["rows"].map {|x| mock_version(x)}
|
||||||
|
else
|
||||||
|
[]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user