Incorrect use of drupal_access_denied() on line 184
usonian - February 27, 2008 - 06:01
| Project: | Value List |
| Version: | 5.x-1.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | usonian |
| Status: | closed |
Jump to:
Description
As reported in http://drupal.org/node/122234, calling drupal_access_denied() within a callback results in the page getting double-rendered, which is not desired behavior.
Also, the access check on 183 should be for 'edit value lists', not 'create value lists'.

#1
(remove the user_access check altogether)
#2
Fixed in version 5.x-1.1
#3