Skip to content

Commit

Permalink
Minor bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rappen committed Jul 23, 2022
1 parent b70896b commit 28cd896
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions XRMTokensRun/GetAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ public static string ShowDialog(XRMTR owner, EntityMetadata entity = null, IEnum

private string GetResult()
{
var result = "{" + xrmColumn.SelectedAttribute.LogicalName;
var result = "{" + xrmColumn.SelectedAttribute?.LogicalName;
if (chkParent.Checked)
{
result += "." + xrmParentAttr.SelectedAttribute.LogicalName;
result += "." + xrmParentAttr.SelectedAttribute?.LogicalName;
}
if (chkValue.Checked)
{
Expand Down

0 comments on commit 28cd896

Please sign in to comment.