Skip to content

Commit

Permalink
add return to functions
Browse files Browse the repository at this point in the history
  • Loading branch information
benbenben2 committed Dec 16, 2024
1 parent 5eece2c commit 4d916d9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cgi/product_multilingual.pl
Original file line number Diff line number Diff line change
Expand Up @@ -933,6 +933,8 @@ sub add_parent_if_missing {
push(@$nutriments, $parent_nutrient_ref);
}
}

return;
}

if (($action eq 'display') and (($type eq 'add') or ($type eq 'edit'))) {
Expand Down
2 changes: 2 additions & 0 deletions lib/ProductOpener/Display.pm
Original file line number Diff line number Diff line change
Expand Up @@ -10500,6 +10500,8 @@ sub add_parent_if_missing {
};
}
}

return;
}

=head2 nutrient_in_rows ( $parent_nid, $rows_ref )
Expand Down

0 comments on commit 4d916d9

Please sign in to comment.