Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
The code in the file - node_revision_delete.helpers.inc does not do a clean check for the parameter
minimum_revisions_to_keep
The case where minimum_revisions_to_keep is less than the number of revisions to delete works fine.
Problem happens when minimum_revisions_to_keep is more than the number of revisions to delete.
Comment | File | Size | Author |
---|---|---|---|
#3 | 3119128-13504685.patch | 1.73 KB | yasheshb |
Comments
Comment #2
yasheshb CreditAttribution: yasheshb as a volunteer commentedComment #3
yasheshb CreditAttribution: yasheshb as a volunteer and commentedThe fix is applied using the patch file below
3119128-13504685.patch
Comment #4
adriancidThanks for the patch
Comment #5
adriancid