Skip to content

Commit

Permalink
BUGFIX login BackURL wrong when using nested urls (fixes #5520, thank…
Browse files Browse the repository at this point in the history
…s ktauber) (from r103933)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112448 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information
chillu committed Oct 15, 2010
1 parent 6ff9223 commit b78bc13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/PageCommentInterface.ss
Original file line number Diff line number Diff line change
Expand Up @@ -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 %>
Expand Down

0 comments on commit b78bc13

Please sign in to comment.