Hello,

revisioning module attempts to put the proper VID on the right side here:

    // Make sure that latest of the two revisions is on the right.
    if ($node->current_revision_id > $node->vid) {
      return diff_diffs_show($node, $node->current_revision_id, $node->vid);
    }
    return diff_diffs_show($node, $node->vid, $node->current_revision_id);

However, the usage of diff_diffs_show() is diff_diffs_show($node, $old_vid, $new_vid, $state = NULL), so the old VID should come first. The current logic is backwards. Flipping the operator from > to < corrects this problem.

Patch attached.

CommentFileSizeAuthor
revisioning.module.diff.patch551 bytesentendu

Comments

rdeboer’s picture

Assigned: Unassigned » rdeboer
Status: Needs review » Fixed

Patch applied with attritbution.
Thanks entendu.
Rik

Status: Fixed » Closed (fixed)

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