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.
This may seem to be stupid and trivial.. --i am picky, that's not really a good thing--
The link in the help text or description on the node_gallery access settings page is displaying as:
<a href="/admin/whatever/rebuild">rebuild all permissions</a>
But it should display as as a link rebuild all permissions
The only reason I can see is in the '#description' => t(... @@ line 36 %rebuild -vs- !rebuild
excuse my patch, I have to figure out cvs... someday...
Comment | File | Size | Author |
---|---|---|---|
node_gallery_access.admin_.inc_.patch | 1.11 KB | dbeall |
Comments
Comment #1
dbeall CreditAttribution: dbeall commentedComment #2
justintime CreditAttribution: justintime commented@dbeall, thanks for the patch, but you motivated me to fix the real problem. There was even a TODO comment in there to prompt the user using node_access_needs_rebuild() when they changed a variable that triggers a rebuild. Not only when settings are changed do we need to trigger this, but we also need to do it when NGA is enabled and disabled.
While I was in there, I saw that the text output for the default location of ng_access_pass_gallery and ng_access_pass_image wasn't working, so I fixed that too.