Skip to content

Commit

Permalink
Fixed issue introduced in #795.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjordan committed Aug 6, 2024
1 parent e43f4c1 commit d39c3dd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions workbench
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,10 @@ def create():
# in the "Assemble Drupal field structures..." section below.
row["promote"] = ""

# WIP on #795.
# print("DEBUG field_member_of", row)
if "field_member_of" in row.keys() and (
value_is_numeric(row["field_member_of"]) is False
len(row["field_member_of"]) > 0
and value_is_numeric(row["field_member_of"]) is False
):
field_member_of_value_for_message = copy.copy(row["field_member_of"])
row["field_member_of"] = get_nid_from_url_alias(
Expand Down

0 comments on commit d39c3dd

Please sign in to comment.