mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Changing VersionREcordId to VersionNumber when trying to recal a item by its VersionNumber
This commit is contained in:
@@ -148,7 +148,7 @@ namespace Orchard.ContentManagement {
|
||||
}
|
||||
else if (options.VersionNumber != 0) {
|
||||
// short-circuit if item held in session
|
||||
if (session.RecallVersionNumber(id, options.VersionRecordId, out contentItem)) {
|
||||
if (session.RecallVersionNumber(id, options.VersionNumber, out contentItem)) {
|
||||
return contentItem;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user