fix(context): check for content id

This commit is contained in:
Anna 2021-04-28 10:07:16 -04:00
parent 1d2e4b8c43
commit de586b4f2e
1 changed files with 4 additions and 0 deletions

View File

@ -24,6 +24,10 @@ namespace NoSoliciting {
return;
}
if (args.ContentIdLower == 0) {
return;
}
var label = Language.ReportToNoSoliciting;
args.AdditionalItems.Add(new ContextMenuItem(label, this.Report));
}