Download & Extend

Incorrect use of drupal_access_denied() on line 184

Project:Value List
Version:5.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:usonian
Status:closed (fixed)

Issue Summary

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'.

Comments

#1

Title:Improper use of drupal_access_denied() on line 184» Incorrect use of drupal_access_denied() on line 184

(remove the user_access check altogether)

#2

Status:active» fixed

Fixed in version 5.x-1.1

#3

Status:fixed» closed (fixed)