Closed (won't fix)
Project:
Login Destination
Version:
5.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 May 2008 at 00:19 UTC
Updated:
22 Nov 2015 at 15:00 UTC
Jump to comment: Most recent
Comments
Comment #1
chrisJTAM commentedHaving the same problem
Comment #2
gemini commentedDon't see either... I thought I was the only one - drove me nuts :)
Comment #3
daveLA commentedSame problem here as well. Any chance of an update or fix for this?
Comment #4
davidwhthomas commentedWhile you can set a PHP snippet to do this also, you need to set all the code to check the true and false conditions
Preserving the destination should just be a global default setting (imho)
the fix is to insert this code (without the php tags) into the start of:
modules/login_destination/login_destination.module(around line 120)
function login_destination_apply_redirect()so that the full function becomes:
This just returns false if the destination is set in the URL meaning the redirection is not applied.
or maybe:
To check the $_POST array also for a posted destination and use the isset() function for checking an array element value while using the $result variable set in the function context as the return value;
hth.
DT
Comment #5
wiredescape commentedChanged title to correct typo.
From "Preserve Desination" to "Preserve Destination".
Makes finding in search easier...
Comment #6
ddrozdik commentedVersion 5 of the module is not supported anymore.