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

usonian - February 27, 2008 - 16:00
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

usonian - February 27, 2008 - 16:23
Status:active» fixed

Fixed in version 5.x-1.1

#3

usonian - February 27, 2008 - 16:34
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.