ERS takes over all revisions tab pages, even for those content types it is not enabled for. Patch forthcoming.

Comments

paul kim consulting’s picture

StatusFileSize
new846 bytes
paul kim consulting’s picture

Status: Active » Needs review
caschbre’s picture

Status: Needs review » Needs work

This doesn't appear to be working as expected.

The condition:
if (!in_array($node->type, $ers_nodes)) {

is always finding the node type in the array. In my case I do *not* have ers configured for my blog node type. In the ers_nodes array you'll still find 'blog' in as a key with a value of 0.

I don't have my site in front of me at the moment, but I changed that condition to something along the lines of...
if (!in_array($node->type, $ers_nodes) || (in_array($node->type, $ers_nodes) && $ers_nodes[$node->type] == 0)) {

I'm sure there's a better way to write that.