Fixing ItemInspector signature for compatibility with old versions

--HG--
branch : 1.x
This commit is contained in:
Sebastien Ros
2011-12-01 16:05:44 -08:00
parent dde7e21a69
commit 09581ddf95
2 changed files with 4 additions and 2 deletions

View File

@@ -30,8 +30,8 @@ namespace Orchard.Comments.Feeds {
var commentedOn = _contentManager.Get(feedItem.Item.Record.CommentedOn);
var commentedOnInspector = new ItemInspector(
commentedOn,
_contentManager.GetItemMetadata(commentedOn),
Enumerable.Empty<IHtmlFilter>());
_contentManager.GetItemMetadata(commentedOn)
);
var title = T("Comment on {0} by {1}", commentedOnInspector.Title, comment.Record.Author);