mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
BUGFIX login BackURL wrong when using nested urls (fixes #5520, thanks ktauber) (from r103933)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112448 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
6ff9223210
commit
b78bc13c8d
@ -7,7 +7,7 @@
|
||||
<% else %>
|
||||
<p><% _t('COMMENTLOGINERROR', 'You cannot post comments until you have logged in') %>,
|
||||
<% if PostingRequiresPermission %><% _t('COMMENTPERMISSIONERROR', 'and that you have an appropriate permission level') %><% end_if %>.
|
||||
<a href="Security/login?BackURL={$Page.URLSegment}/" title="Login to post a comment"><% _t('COMMENTPOSTLOGIN', 'Login Here') %></a>.
|
||||
<a href="Security/login?BackURL={$Page.Link}/" title="Login to post a comment"><% _t('COMMENTPOSTLOGIN', 'Login Here') %></a>.
|
||||
</p>
|
||||
<% end_if %>
|
||||
<% else %>
|
||||
|
Loading…
Reference in New Issue
Block a user