Simpletest uncovered this bug on lines 72 and 79. I'm not sure what $access should be set to.

CommentFileSizeAuthor
#2 245427.patch699 bytesdouggreen

Comments

merlinofchaos’s picture

Should be user_access('administer panel views')

douggreen’s picture

Status: Active » Reviewed & tested by the community
StatusFileSize
new699 bytes

Patch attached

sdboyer’s picture

Status: Reviewed & tested by the community » Fixed

The very next menu item has the same problem too. I switched things around, though, and just stored the call to user_access() in $access instead. Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.