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.
The logic of Line 152 in term_permissions.module doesn't fit with the comments on line 150-151 above -- it should be "if (count($options) < 1)" or "if (count($options) == 0)" instead of "if (count($options) <= 1)"
Comment | File | Size | Author |
---|---|---|---|
#2 | user_count-1885338-2.patch | 648 bytes | adiaz |
#1 | user_count-1885338-1.patch | 546 bytes | MiSc |
Comments
Comment #1
MiSc CreditAttribution: MiSc commentedSuggested patch is attached.
Comment #2
adiazI can confirm the error and the proposed solution.
Attaching a new version of patch, as #1 can't be applied because it has absolute paths.
Comment #3
Pablo Gosse CreditAttribution: Pablo Gosse commentedThx for this patch. Applies cleanly for me. Moving this to RTBC as this is an incredibly simple but important change.
Pablo
Comment #4
Pablo Gosse CreditAttribution: Pablo Gosse commentedMoving to RTBC. Simple fix. Can we get this committed into the DEV branch?
Pablo
Comment #6
roborn CreditAttribution: roborn at Frontkom for Norwegian University of Life Sciences commented