The watchdog for a reverted revision is referencing a missing variable $revision, so the end result looks like:

page: reverted page revision .

Patch simply changes that missing variable to $node->vid, which I think is what that's supposed to be. Thanks, Eclipse!

This is not an issue in 6.x, because that whole function's logic was all switched around with the CSRF fix.

CommentFileSizeAuthor
#1 node-missing-vid-watchdog-211825-1.patch987 byteswebchick

Comments

webchick’s picture

StatusFileSize
new987 bytes
drumm’s picture

Status: Needs review » Fixed

Committed to 5.x.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.