Skip to content

Commit

Permalink
fix(trg_edit_connec): wrong end if
Browse files Browse the repository at this point in the history
  • Loading branch information
albertbofill committed Aug 14, 2024
1 parent 8731945 commit 63e2e39
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ud/ftrg/ud_gw_trg_edit_connec.sql
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,7 @@ BEGIN
END IF;

IF NEW.connec_type IS NULL THEN
NEW.connec_type:=(SELECT id FROM cat_feature_connec JOIN cat_feature USING (id) WHERE active IS TRUE LIMIT 1);
END IF;
NEW.connec_type:=(SELECT id FROM cat_feature_connec JOIN cat_feature USING (id) WHERE active IS TRUE LIMIT 1);
END IF;
END IF;

Expand Down

0 comments on commit 63e2e39

Please sign in to comment.