The function node_revisions() has redundant code (it rechecks for access that was already checked by function _node_revision_access()) and also looks at arg(1), arg(3), etc. instead of using params passed into the function from the menu system.

Attached patch corrects the worst of these deficiencies.

Comments

pwolanin’s picture

Status: Needs review » Needs work

needs re-roll for node module split

bdragon’s picture

Status: Needs work » Needs review
StatusFileSize
new3.28 KB

Free reroll courtesy patch bingo.

bdragon’s picture

Status: Needs review » Closed (fixed)