fix find_citizen_opinions_by_target_id if json is empty

This commit is contained in:
flecomte committed 2020-03-22 00:43:09 +01:00
1 parent ddea05aea0
commit 479793503c
1 file changed
+4
@@ -24,6 +24,10 @@ begin
ol.name
limit 100
) as t;
if (resource is null) then
resource = '[]'::json;
end if;
end;
$$;