Skip to content

Commit

Permalink
fix(fct_getstyle): add missing variable v_style_id
Browse files Browse the repository at this point in the history
  • Loading branch information
smaspons committed Sep 3, 2024
1 parent 8bf67a6 commit 5bbd369
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions utils/fct/gw_fct_getstyle.sql
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ $BODY$
DECLARE
v_return json;
v_layername text;
v_style_id text;
v_styles json;
v_version text;
v_error_context text;
Expand All @@ -35,6 +36,7 @@ BEGIN

-- Get input variables
v_layername = (p_data -> 'data' ->> 'layername')::text;
v_style_id = (p_data -> 'data' ->> 'style_id')::text;

-- Get version
SELECT giswater FROM sys_version ORDER BY id DESC LIMIT 1 INTO v_version;
Expand Down

0 comments on commit 5bbd369

Please sign in to comment.