fix(context): check for content id
This commit is contained in:
parent
1d2e4b8c43
commit
de586b4f2e
|
@ -24,6 +24,10 @@ namespace NoSoliciting {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (args.ContentIdLower == 0) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
var label = Language.ReportToNoSoliciting;
|
var label = Language.ReportToNoSoliciting;
|
||||||
args.AdditionalItems.Add(new ContextMenuItem(label, this.Report));
|
args.AdditionalItems.Add(new ContextMenuItem(label, this.Report));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user