Make sure to use the user profile name whenever it is possible.

This commit is contained in:
2017-02-08 18:41:17 +01:00
parent bb3e2abf55
commit a1e8cc5128
6 changed files with 16 additions and 12 deletions

View File

@@ -123,7 +123,7 @@ feature -- HTTP Methods
s.append (" | ")
end
if attached l_response.user as u and then l_response.has_permission ("view own trash") then
s.append (l_response.link ("Your-trash", "trash?user=" + l_response.url_encoded (u.name), Void))
s.append (l_response.link ("Your-trash", "trash?user=" + u.id.out, Void))
s.append (" | ")
end