Don't set $node_url to REQUEST_URI

catch - June 1, 2009 - 11:47
Project:Restricted content
Version:6.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:needs review
Description

Since content is restricted on both teaser and node listings, setting the node url to REQUEST_URI seems redundant - it also won't work on views listings etc. I kept clicking the same link again and again wondering what was wrong with my installl the first time I ran into this, even if it means showing the message twice and a wasted click, seems like less potential for user confusion.

#1

catch - June 1, 2009 - 11:48

And the patch.

AttachmentSize
restricted_content_preprocess_478586.patch 585 bytes
 
 

Drupal is a registered trademark of Dries Buytaert.